Itβs not clear to me whether to request push notification permissions in the provisioning profile if we send only local notifications. I received a warning letter while performing a test download on iTunes and do not want to waste time when we send.
I have calls for iOS8 +
static const UIUserNotificationType USER_NOTIFICATION_TYPES_REQUIRED = UIUserNotificationTypeAlert | UIUserNotificationTypeSound | UIUserNotificationTypeBadge; UIUserNotificationSettings* requestedSettings = [UIUserNotificationSettings settingsForTypes:USER_NOTIFICATION_TYPES_REQUIRED categories:nil]; [[UIApplication sharedApplication] registerUserNotificationSettings:requestedSettings];
and
[application scheduleLocalNotification:notification]
But there is no push notification. Do I need to enable push in IOS-APP ID settings

source share