I have to implement APNS in my project, I have created APNS SSL in developer portal, and using this i have created new pro
I think you forget your didRegisterUserNotificationSettings method so:
- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings {
if (notificationSettings.types != UIUserNotificationTypeNone) {
NSLog(@"didRegisterUser is called");
[application registerForRemoteNotifications];
}
}
at the same place check the following scenario also.