如何抑制查看按钮推送通知?
在苹果文档中,他们显示了一个通知,其中没有查看按钮,只有一个“确定”按钮。
我怎样才能在我的应用程序中执行此操作。
这是否必须在有效负载代码中或本地应用程序中实现?
感谢任何帮助,谢谢!
In the apple documentation, they show a notification where there's no view button, just an "OK" button.
How could I do this in my app.
does this have to be implemented in the payload code, or in the local app?
any help is appreciated, thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没关系,我发现它与消息的“body”元素有关:
这是一个例子
nevermind, I found it has to do with the "body" element of the message:
Here's an example