简体   繁体   English

再次打开已在iPhone中从后台杀死的应用时,调用哪种方法?

[英]Which method is called when app which has been killed from background in iphone is opened again?

After our app has been removed/Killed from the background either by iOS or by the user himself, which method is called when the same is opened again? 当我们的应用程序被iOS或用户本人从后台删除/杀死后,再次打开该应用程序时会调用哪种方法?

Well i believe, 'applicationDidFinishLaunchingWithOptions' is called because since app has been killed, its is relaunched again. 我相信,之所以会调用“ applicationDidFinishLaunchingWithOptions”,是因为自从应用程序被杀死以来,它就重新启动了。 Is that so? 是这样吗?

You are right ! 你是对的 ! As it describe in the Apple Documentation: 如Apple文档中所述:

应用启动

You can also read the full version here 您也可以在这里阅读完整版本

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何知道该应用在后台被杀死后是否已从本地通知中打开? - How can I know if the app has been opened from a local notification after it has been killed in the background? 从后台被杀死的应用中恢复-重启时调用哪些方法? - Recovering from App Being Killed in Background - Which Methods Are Called on Restart? 单击推送通知打开应用程序时将调用哪种方法 - which method is getting called when app is opened by push notification clicked 在后台检测到其他iPhone应用程序已被打开 - detect in background that other iPhone app has been opened 当我的应用程序处于终止模式(不在后台)时,远程通知到达时哪个代表首先调用 - Which delegate called first when remote notification arrived, while my app is in killed mode(not in background) 手动杀死应用程序时调用哪种方法或如何处理远程推送通知 - Which method is called or How to handle when remote push notification arrives when app is killed manually 当应用程序从非活动状态进入时调用的iOS控制器方法 - iOS Controller method which is called when app goes from inactive 当应用程序处于后台或应用程序中时,使用推送通知设置应用程序图标上的徽章 - Setting badge on app icon with push notifications when app is in background or app has been killed 当应用程序被最小化并再次被带到最前面时,调用了哪个方法? - Which method is called when application was minimized and is brought to the front again? 如何在iOS中创建后台线程,该应用程序在视图中隐藏后继续 - How to create a background thread in iOS which continues after the app has been hidden from view
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM