How to send Push Notifications from iPhone?

Can an iOS app only ask for the permission to send Push Notifications on start up?

  • I noticed that most (all?) of my iOS apps ask me to allow push notifications when I start them for the first time. This does not make a lot of sense when I am using an app for the first time (because I have no experience with the app and will usually not allow push notifications). In my opinion it would make more sense to ask the user when he's using a feature of the app that makes use of push notifications.

  • Answer:

    No, an iOS app can request permission to send push notifications any time. And it is true that sometimes it is better to ask for permission later when it is more appropriate and deemed necessary. As to why apps ask for permission to send push notifications immediately after launch, I suppose it is (1) either due to a lack of design or (2) because many code samples illustrating how to request push notification permission show it by running it immediately after an app launches (since that makes it the smallest app possible for tutorial purposes) or (3) it makes sense for those apps.

Hwee-Boon Yar at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.