无徽章/警报/声音的 APNS
我可以在没有徽章/警报/声音的情况下向 APNS 发送通知吗?它应该只通知我安装在 iPhone 中的应用程序?
这就像通过 APNS 发送到设备中的应用程序的自定义通知,不应提醒用户。
有可能吗,如果有的话怎么办?
提前致谢 !
Can I send a notification to APNS without Badge / Alert / Sound, which should notify only to my app which is installed in the iPhone ?
It's like custom notification sending via APNS to the App in the device which should not alert the user.
Is it possible,if yes how ?
Thanks in advance !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
呵呵。可以做到(但我不明白这样做的目的):
1)询问用户是否想接收仅包含声音警报的推送通知
2)发送不带文本的推送通知和设置应用程序包中不存在或无声的声音文件,例如:
你明白我的技巧吗? =)
Heh. It could be done (but I don't understand the purpose of that):
1) Ask user if he wants to receive Push-notifications that contains only sound alert
2) Send Push-notification without text and set sound-file that doesn't exists in app bundle or that is silent, for example:
Do you understand my hack? =)