Application's Outset Launch Xcode

Open AppDelegate.swift too alter this line:

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool {     supply truthful } 
to
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool {   if (NSUserDefaults.standardUserDefaults().boolForKey("HasLaunchedOnce")){   //app already launched    println("app already launched")   }else{   NSUserDefaults.standardUserDefaults().setBool(true, forKey: "HasLaunchedOnce")   NSUserDefaults.standardUserDefaults().synchronize()   //This is the showtime launch e'er     println("this is the showtime launch ever")  }   supply truthful } 
Next
Previous
Click here for Comments

0 komentar:

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