I have an app with support for Push Notifications under development for couple of months now. Push Notifications worked just fine until yesterday.
Now the application does not get any callbacks for registering for APNS. didRegisterForRemoteNotificationsWithDeviceToken nor didFailToRegisterForRemoteNotificationsWithError in the AppDelegate is called. Why I don't get any AppDelegate callback when registering for PN?
Registration is properly called:
let settings = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
UIApplication.sharedApplication().registerUserNotificationSettings(settings)
UIApplication.sharedApplication().registerForRemoteNotifications()