cocoaTouch/iPad/SplitViewRootController.m
changeset 3270 9bd8fb1707b9
parent 3250 d5cd1a617123
--- a/cocoaTouch/iPad/SplitViewRootController.m	Fri Apr 02 22:42:47 2010 +0000
+++ b/cocoaTouch/iPad/SplitViewRootController.m	Fri Apr 02 22:44:14 2010 +0000
@@ -29,6 +29,8 @@
 -(void) viewDidLoad {
     // init every possible controller
     splitViewController = [[UISplitViewController alloc] init];
+    CGRect screensize = [[UIScreen mainScreen] bounds];
+    splitViewController.view.frame = CGRectMake(0, 0, screensize.size.height, screensize.size.width);
     masterViewController = [[MasterViewController alloc] initWithStyle:UITableViewStylePlain];
     detailViewController = [[DetailViewController alloc] initWithStyle:UITableViewStyleGrouped];