通知对话权限仅显示一次

时间:2022-08-27 12:33:59

I would like to see again the Permission for Notifications Dialog in my app(http://i.imgur.com/RGYvXgy.png) to see if I got the timing right. I tried deleting the app, and running it again but iOS system remembers what the notification settings were before deletion. Is it possible to recreate that window somehow?

我想在我的应用程序(http://i.imgur.com/RGYvXgy.png)中再次看到Notifications for Notifications Dialog,看看我是否正确。我尝试删除该应用程序,并再次运行它,但iOS系统会记住删除前的通知设置。是否有可能以某种方式重新创建该窗口?

1 个解决方案

#1


1  

You need to give it at least 24 hours after deleting the app to be able to recreate that Notification Permission alert view.

您需要在删除应用程序后至少24小时内给它,以便能够重新创建通知权限警报视图。

Or you can set your phone's clock to tomorrow or 24 hours ahead of time (within your settings) and try it.

或者您可以将手机的时钟设置为明天或提前24小时(在您的设置中)并尝试使用。

or try running that same code through a iOS simulator

或尝试通过iOS模拟器运行相同的代码

#1


1  

You need to give it at least 24 hours after deleting the app to be able to recreate that Notification Permission alert view.

您需要在删除应用程序后至少24小时内给它,以便能够重新创建通知权限警报视图。

Or you can set your phone's clock to tomorrow or 24 hours ahead of time (within your settings) and try it.

或者您可以将手机的时钟设置为明天或提前24小时(在您的设置中)并尝试使用。

or try running that same code through a iOS simulator

或尝试通过iOS模拟器运行相同的代码