I am very new to this development, so please help me
I am starting push notification using this code
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
But, on my device I am not getting push notification user permission alert saying "App Name" Would like to send Notifications
I found that if device is jail broken, then we don't receive permission alert message, but my device is not jail broken.
edited
I am also getting push notifications on my device, just not getting permission alert on first start.
Any help on this will be really thankful.