推送通知到来时调用的方法序列
当推送通知到来并且我们点击警报的“查看”按钮时,第一个被调用的方法是什么?
我想了解流程,因为我想呈现通知的模态视图,并且该模态将位于我的根视图控制器之上,因此我想了解通知传入时调用的方法的顺序。
What is the first method which gets called when a push notification comes and we tap on "View" button of the alert?
I wanted to understand the flow because I want to present the modal view for my notification and that modal will be on top of my root view controller so I want to understand the sequence of methods which gets called when notification comes in.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
didFinishLaunchingWithOptions
或applicationWillEnterForeground
didReceiveLocalNotification
didFinishLaunchingWithOptions
orapplicationWillEnterForeground
didReceiveLocalNotification