In fact, the solution on iOS 8 should request authorization for the notification options for the user, otherwise the delegate method -didReceiveLocalNotification: will never be called. You can do this by adding this code to the -didFinishLaunchingWithOptions :: method
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0) { [[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge) categories:nil]]; }
This will show the user a warning requesting permission to display notifications. If it accepts, the delegate method will be called whenever a local notification is issued.
source share