1#import "AppDelegate.h" 2#import "ViewController.h" 3 4@implementation AppDelegate 5 6@synthesize window = _window; 7 8- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 9 [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone]; 10 11 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 12 self.window.rootViewController = [[ViewController alloc] init]; 13 [self.window makeKeyAndVisible]; 14 15 return YES; 16} 17 18- (void)applicationWillResignActive:(UIApplication *)application { 19 20} 21 22- (void)applicationDidEnterBackground:(UIApplication *)application { 23 24} 25 26- (void)applicationWillEnterForeground:(UIApplication *)application { 27 // 28} 29 30- (void)applicationDidBecomeActive:(UIApplication *)application { 31 // 32} 33 34- (void)applicationWillTerminate:(UIApplication *)application { 35 // 36} 37 38@end 39