Created
November 10, 2013 06:01
-
-
Save enriquez/7394429 to your computer and use it in GitHub Desktop.
Use Private API for hiding status bar text. The Apple Product images (https://developer.apple.com/app-store/marketing/guidelines/#images) provide a generic status bar with full cell signal, 9:41 time, and full battery. I used this code to hide the status bar and took screenshots with the simulator. Then I placed the screenshots into the product …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "MEAppDelegate.h" | |
@interface UIStatusBar | |
@property(retain) UIColor * foregroundColor; | |
@end | |
@implementation MEAppDelegate | |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
UIStatusBar *statusBar = [[UIApplication sharedApplication] valueForKey:@"_statusBar"]; | |
statusBar.foregroundColor = [UIColor clearColor]; | |
return YES; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment