Is there any way I could make the “Would you like to enable push notifications…” dialogue not to come up upon first time application launch but rather on some other action in the application?
Regardz,
Mladen
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The dialog should not appear until you call the method
registerForRemoteNotificationTypes. I assume you’re calling it inappDidFinishLoadingat the moment? Just move it to the part of your application that is relevant to Push Notifications.It’s a similar situation with CoreLocation. It can confuse the user if you request the users location before your application has indicated why it needs it.