How to get back “Allow Push Notifications” dialog after it was dismissed once?

后端 未结 8 683
梦毁少年i
梦毁少年i 2020-12-04 12:31

I am building an app that is heavily relies on APN. Upon the very first start of my app, iOS asks if this app is allowed to use APN (as a result of registerForRemoteNo

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 13:01

    On iOS 9.x, you can get the prompt every time you delete the app and reinstall it. This is true for both AppStore production downloads and adhoc mode. The device token will be unique each time.

    @chengsam verified this is true in iOS 10 as well. @WongWray verified this is true in iOS 11 as well.

提交回复
热议问题