如何为我的应用程序清除首选iOS推送通知? [英] How to clear preference iOS push notifications for my application?

查看:156
本文介绍了如何为我的应用程序清除首选iOS推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello安装应用程序时,它会要求用户发送推送通知的权限。
我正在测试我的申请。但是从设备中删除后再安装它不再需要许可。
如何删除这些设置,以便再次请求权限?

Hello When the application is installed, it asks the user for permission to send push notifications. I'm testing my application. But after removing it from the device and then install it no longer asks for permission. How do I remove these settings so that it once again asked for permission?

我需要它来测试服务器推送通知。

I need it to test server push notifications.

推荐答案

iOS推送通知的允许对话框每24小时出现一次..所以您需要手动修改设备日期并将其设置为对话框出现日期后1天。

the allow dialog for the iOS push notification appear one time every 24 hour .. so all what you need to modify the device date manually and set it to be 1 day after the date that dialog appear on it.

这篇关于如何为我的应用程序清除首选iOS推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆