cocoaTouch/SplitViewRootController.m
changeset 3513 f589230fa21b
parent 3490 016b3172b645
--- a/cocoaTouch/SplitViewRootController.m	Thu Jun 17 11:42:23 2010 -0400
+++ b/cocoaTouch/SplitViewRootController.m	Thu Jun 17 19:57:51 2010 +0200
@@ -40,7 +40,7 @@
         
     Class splitViewControllerClass = NSClassFromString(@"UISplitViewController");
     if (splitViewControllerClass) {
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
+#if __IPHONE_3_2
         UISplitViewController *splitViewRootController = [[UISplitViewController alloc] init];
         //splitViewRootController.view.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;        
         splitViewRootController.view.frame = CGRectMake(0, 0, rect.size.height, rect.size.width);