Skip to content

Commit

Permalink
Full screen on iPad
Browse files Browse the repository at this point in the history
  • Loading branch information
0xced committed May 27, 2011
1 parent ecc3d31 commit fcb7180
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Classes/AppDelegate.m
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions UIKit Artwork Extractor.xcodeproj/project.pbxproj
Expand Up @@ -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;
};
Expand All @@ -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;
};
Expand Down
2 changes: 2 additions & 0 deletions UIKit_Artwork_Extractor-Info.plist
Expand Up @@ -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>
Expand Down

0 comments on commit fcb7180

Please sign in to comment.