I am very new to this development, so please help me
I am starting a push notification with this code
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
But on my device, I don’t get a warning notification from the user push notifications that the “Application Name” would like to send notifications
I found that if the device is broken in prison, we do not receive a permission notification, but my device is not broken.
edited
I also get push notifications on my device, just not getting permission warnings on first start.
Any help on this would be truly appreciated.
source
share