How To Uncovering Showtime Fourth Dimension App Launch On Iphone Inward Xcode

Inside the "AppDelegate.m", change

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {     // Override betoken for customization later application launch.     supply YES; } 

to

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {     if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HasLaunchedOnce"])     {         // app already launched     }     else     {         [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"HasLaunchedOnce"];         [[NSUserDefaults standardUserDefaults] synchronize];         // This is the compass down launch always     } } 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.