Skip to content

Instantly share code, notes, and snippets.

@wagyu298
Created June 20, 2013 11:36
Show Gist options
  • Save wagyu298/5822032 to your computer and use it in GitHub Desktop.
Save wagyu298/5822032 to your computer and use it in GitHub Desktop.
didFinishLaunchingWithOptions to kick ViewController.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
_window.rootViewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
[_window makeKeyAndVisible];
return YES;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment