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

后端 未结 8 694
梦毁少年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 12:46

    Currently their is no programmatic way to prompt a user to re-accept Push Notificaitons after they have already decided to say no.

    You should simply check if you have been granted access, and if not display a view reminding the user to manually give permission in the privacy settings in order to enable push notification features of your application.

提交回复
热议问题