cocoaTouch/SplitViewRootController.m
changeset 3352 ac5d14a35482
parent 3335 2520ee7a5484
child 3365 37ac593e9027
--- a/cocoaTouch/SplitViewRootController.m	Fri Apr 16 17:17:43 2010 +0000
+++ b/cocoaTouch/SplitViewRootController.m	Sat Apr 17 04:59:10 2010 +0000
@@ -38,8 +38,9 @@
     Class splitViewControllerClass = NSClassFromString(@"UISplitViewController");
     if (splitViewControllerClass) {
         splitViewRootController = [[splitViewControllerClass alloc] init];
-        CGRect screensize = [[UIScreen mainScreen] bounds];
-        [[splitViewRootController view] setFrame:CGRectMake(0, 0, screensize.size.height, screensize.size.width)];
+        //[[splitViewRootController view] setAutoresizingMask: UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth];
+
+        [[splitViewRootController view] setFrame:CGRectMake(0, 0, 1024, 1024)]; // yeah it's funny
         MasterViewController *masterViewController = [[MasterViewController alloc] initWithStyle:UITableViewStylePlain];
         
         UINavigationController *mainNavController = [[UINavigationController alloc] initWithRootViewController:masterViewController];