summaryrefslogtreecommitdiff
path: root/Cydia
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia')
-rw-r--r--Cydia/LoadingViewController.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cydia/LoadingViewController.mm b/Cydia/LoadingViewController.mm
index 845c350..0463892 100644
--- a/Cydia/LoadingViewController.mm
+++ b/Cydia/LoadingViewController.mm
@@ -42,7 +42,9 @@
@implementation CydiaLoadingViewController
- (void) loadView {
- [self setView:[[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]];
+ UIView *view([[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]);
+ [view setAutoresizingMask:(UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight)];
+ [self setView:view];
UITableView *table([[[UITableView alloc] initWithFrame:[[self view] bounds] style:UITableViewStyleGrouped] autorelease]);
[table setAutoresizingMask:(UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight)];