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

查看:15
本文介绍了如何清除我的应用程序的偏好 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天全站免登陆