This is a follow-up question to How to check launchOptions in Swift? - I got my app to launch successfully without crashing, but I can\'t seem to correctly detect when the app i
If your App is running in background, the "application didFinishLaunching" method will not be called. It has already been launched.
In this case you should do your job in the "application didReceiveLocalNotification" method.
func application(application: UIApplication!, didReceiveLocalNotification notification: UILocalNotification!) {
// do your jobs here
}