Permalink
Browse files

Full screen on iPad

  • Loading branch information...
1 parent ecc3d31 commit fcb7180ac6b74b41f63dad7e48d75eaffc5875ea @0xced 0xced committed May 27, 2011
View
@@ -16,7 +16,12 @@ @implementation AppDelegate
- (void) applicationDidFinishLaunching:(UIApplication *)application
{
- [self.window addSubview:self.tabBarController.view];
+ self.window.frame = [[UIScreen mainScreen] bounds];
+
+ if ([self.window respondsToSelector:@selector(setRootViewController:)])
+ self.window.rootViewController = self.tabBarController;
+ else
+ [self.window addSubview:self.tabBarController.view];
}
- (NSString *) saveDirectory:(NSString *)subDirectory
@@ -271,6 +271,7 @@
GCC_PREFIX_HEADER = UIKit_Artwork_Extractor_Prefix.pch;
INFOPLIST_FILE = "UIKit_Artwork_Extractor-Info.plist";
PRODUCT_NAME = "UIKit Artwork Extractor";
+ TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
@@ -283,6 +284,7 @@
GCC_PREFIX_HEADER = UIKit_Artwork_Extractor_Prefix.pch;
INFOPLIST_FILE = "UIKit_Artwork_Extractor-Info.plist";
PRODUCT_NAME = "UIKit Artwork Extractor";
+ TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
@@ -19,6 +19,8 @@
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>

0 comments on commit fcb7180

Please sign in to comment.