Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  2. // Override point for customization after application launch.
  3.  
  4. [[TalkChain sharedManager] initWithAPIKey:kApiKey delegate:self];
  5.  
  6. self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] ;
  7.  
  8. LoginViewController *task = [[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil];
  9.  
  10. UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:task];
  11. self.window.rootViewController = nav;
  12. [self.window makeKeyAndVisible];
  13. [[UIApplication sharedApplication] setStatusBarHidden:YES];
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement