当我的应用程序通过推送打开时执行哪个回调
您好,我想知道当我的应用程序从推送通知启动时会调用哪个应用程序委托方法(当应用程序以前位于后台时?)
Hi there i would like to know which app delegate method get called when my app launch from a push notification (When the app was previously in the background ?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
另请检查此答案。
Also check this answer.
在您的 AppDelegate 中实现 didReceiveLocalNotification: 方法。
Implement the didReceiveLocalNotification: method in your AppDelegate.
检查 UIApplicationDelegate 的文档
Check the documentation of UIApplicationDelegate