Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 6th, 2012  |  syntax: None  |  size: 1.09 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to fix crash log error?
  2. //line 53 is: [self.window makeKeyAndVisible];
  3. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  4. {
  5.     [self createEditableCopyOfDatabaseIfNeeded];
  6.     self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
  7.     self.ViewController = [[MeetingMakerDetailViewController alloc] initWithNibName:@"MeetingMakerDetailViewController" bundle:nil];
  8.     self.window.rootViewController = self.ViewController;
  9.     [self.window makeKeyAndVisible];
  10.  
  11.     return YES;
  12. }
  13.        
  14. //line 53 is: [self.window makeKeyAndVisible];
  15. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  16. {
  17.     [self createEditableCopyOfDatabaseIfNeeded];
  18.     self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
  19.     self.ViewController = [[MeetingMakerDetailViewController alloc] initWithNibName:@"MeetingMakerDetailViewController" bundle:nil];
  20.     self.window.rootViewController = self.ViewController;
  21.     [self.window makeKeyAndVisible];
  22.  
  23.     return YES;
  24. }