ios - 推送通知显示自定义警报

标签 ios push-notification

在我的应用中,我正在添加推送通知支持。
我可以用“加入”和“取消”按钮而不是“查看”和“取消”按钮显示警报吗?

最佳答案

是的,可以将“查看”按钮更改为“加入”按钮。
它具有要在推送通知中设置的 action-loc-key 参数。
apple documentation

关于ios - 推送通知显示自定义警报,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7678479/

相关文章:

ios - 捕获对 "App would like to send you push notifications"警报的回答

ios - 无需 Apple 服务器的 Apple 推送通知

ios - 从 Storyboard返回到 XIB

iphone - Objective-C 的类建模替代方案

ios - Xcode 5 无法识别 Storyboard中的自定义 UIViewController 子类

Azure表存储触发移动通知

c# - HttpNotificationChannel 不想创建新的 channel Uri

ios - (空): Linker command failed with exit code 1 (use -v to see invocation) when use admob

ios - 如何从 iOS 中的 firebase 中的子节点获取数据

ios - 如何在 PFQuery where 查询中设置整数值?