Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AppDelegate.m
- - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- UIViewController *initViewController=[[ViewController alloc] init];
- if (initViewController) {
- self.window = [UIWindow new];
- [self.window makeKeyAndVisible];
- self.window.rootViewController = initViewController;
- self.window.frame = [[UIScreen mainScreen] bounds];
- return YES;
- }
- return NO;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement