// Register for notifications
[[UIApplication sharedApplication]
registerForRemoteNotificationTypes:(
UIRemoteNotificationTypeAlert |
UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeSound |
UIRemoteNotificationTypeNewsstandContentAvailability)];
This is the code I use for registering for registering for push notifications. The app registers for Alert, Badges, Sound. But the app did not register for the newsstand push notifications. Checked it in
didRegisterForRemoteNotificationsWithDeviceToken
method, with this condition
if([application enabledRemoteNotificationTypes] & UIRemoteNotificationTypeNewsstandContentAvailability)
What might the issue with this code.