是否可以处理后台收到的苹果推送通知?
是否可以区分用户何时手动恢复应用程序或接受推送通知?
我还想处理推送通知参数。
Is possible to distinguish when user manually resume application or accept push notification?
I also want to handle push notification params.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您正在寻找
didReceiveRemoteNotification
,这是推送通知到达时调用的方法。您需要查看 UIApplication Delegate Protocol Reference !还有一些其他方法可用于远程通知。
I think you are looking for the
didReceiveRemoteNotification
, which is the the method that gets called when a push notification arrives.You need to look at the UIApplication Delegate Protocol Reference! There are a couple of other methods too for remote notifications.