Responding to received local notification
suggest changeIMPORTANT: This delegate method is only called in the foreground.
Swift
func application(application: UIApplication, didReceiveLocalNotification notification: UILocalNotification) {
}
Objective-C
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
}
This method is generally overridden in the AppDelegate, which conforms to the UIApplicationDelegate protocol.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents