burrGGG burrGGG - 1 year ago 90
Objective-C Question

Local Notification not working since updating to IOS 8 and Xcode 6

Has anyone else had problems with local notifications since updating to IOS 8 and Xcode 6? I have my application which was running fine and the

was set from date picker and working fine,
showed up fine. Now i've updated it doesn't work. I've added break points and my firedate has a value stored in it. Can anyone please help me?

Answer Source

You need to update your code to be able to receive notifications in iOS8. More info here.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    if ([UIApplication instancesRespondToSelector:@selector(registerUserNotificationSettings:)]){
    [application registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert|UIUserNotificationTypeBadge|UIUserNotificationTypeSound categories:nil]];
    // Override point for customization after application launch.
    return YES;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download