The first time registerForRemoteNotificationTypes:you call your site UIApplication, a message appears a UIAlertViewthat says: "[application] wants to send you push notifications."
Is there any way to find out when in this AlertView?
use "OK" or "Do not allow"Currently application:didRegisterForRemoteNotificationsWithDeviceToken:called on mine AppDelegate, even before the user makes a decision.
I ask, because at the first start I want to click ViewControllerwith the parameters Notification, but only if the user has indicated that they want to receive notifications.
source
share