启用从iPhone应用程序/禁用苹果推送通知? [英] Enable/Disable Apple Push Notification from iPhone app?

查看:211
本文介绍了启用从iPhone应用程序/禁用苹果推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 APNS 多了一个疑问。也就是说,当应用程序首次启动该应用程序要求苹果推送通知权限,如果用户接受了,他们可以接收通知。如果用户取消他们无法收到任何通知。我是清楚的?

I have one more doubt on APNS. That is when the app first launch the app asks for Apple Push Notification Permission if the user accepted the they can receive the notifications. If the user cancelled they can't receive any notifications. Am I clear??

现在我的疑问是,


  1. 在第一时间,如果用户从应用程序取消了推送通知服务(点按取消按钮),如果他们想收到苹果推送通知它的一些日子后,再次可以再次启用苹果推送通知从应用程序的特定用户。

  1. At first time if the user cancelled the push notification service from the app (Clicked Cancel button) again after some days if they want receive Apple Push Notification it is possible to enable the Apple Push Notification again for the particular user from the App.

如果用户接受苹果推送通知服务第一,过了些日子,如果他们不希望收到通知,可以禁用 APNS 在我们的应用程序?我希望你明白我的怀疑。任何一个可以请你澄清这个疑问?

And if the user accept the apple push notification service first and after some days if they don't want to receive the notifications it is possible to disable the APNS in our app? I hope you understand my doubt. Can any one please clarify this doubt?

有可能在我们的iPhone应用程序做这些上述情况?

It is possible to do these above scenarios in our iPhone app?

请帮助我。先谢谢了。

推荐答案

可惜你不能启用或禁用推送通知您的应用程序从App code。该对话框询问许可,只显示一次。
通常情况下,其他应用程序的显示指示用户通过进入设置 - >通知 - > AppName的启用/禁用推送通知。

Unfortunately you can't enable or disable the Push Notifications for your app from the app code. The dialog asking for permission is displayed only once. Usually, other apps display instructions to the user to enable / disable push notifications by going into Settings-> Notification-> AppName.

这篇关于启用从iPhone应用程序/禁用苹果推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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