简体   繁体   English

当用户更新iOS应用程序时,应用程序:didFinishLaunchingWithOptions:被调用吗?

[英]When a user updates an iOS app, does application:didFinishLaunchingWithOptions: get called?

I've looked at the docs but am still unsure. 我看过文档,但仍然不确定。 Will application:didFinishLaunchingWithOptions: get called again after the user updates their app from the App Store and then launches the app again? application:didFinishLaunchingWithOptions:在用户从App Store更新应用程序后再次调用,然后再次启动应用程序? As I understand it, this method only gets called on first launch and then again if the user kills the app. 据我了解,此方法仅在首次启动时调用,然后在用户杀死应用程序时再次调用。 But what about after an update from the App Store? 但是从App Store更新后呢?

According to me it is definitely called again. 据我说,它肯定再次被称为。 What if your update brings a new implementation right in the mentioned method? 如果您的更新在上述方法中带来了新的实现,该怎么办? So it have to be called. 所以它必须被称为。

暂无
暂无

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

相关问题 IOS调用didFinishLaunchingWithOptions时的条件 - Conditions when didFinishLaunchingWithOptions get called by the IOS didFinishLaunchingWithOptions不会被调用 - didFinishLaunchingWithOptions does not get called 如果应用程序被杀死并立即打开,则不会调用 application(:didFinishLaunchingwithOptions:) - application(:didFinishLaunchingwithOptions:) does not get called if apps is killed and opened immediately 调用didFinishLaunchingWithOptions时,应用崩溃 - App crashes when didFinishLaunchingWithOptions is called 为什么 iOS 静默推送会触发 application:didFinishLaunchingWithOptions: when app is in background - Why iOS silent push triggers application:didFinishLaunchingWithOptions: when app is in background application:didFinishLaunchingWithOptions:在应用崩溃时被调用的方法 - application:didFinishLaunchingWithOptions: method getting called on app crash iOS - 应用程序:didFinishLaunchingWithOptions在主线程中执行吗? - iOS - Does application:didFinishLaunchingWithOptions execute in main thread? application:didFinishLaunchingWithOptions没有被调用 - application:didFinishLaunchingWithOptions is not being called 为什么iOS会在应用更新时获得新的identifierForVendor? - Why does iOS get a new identifierForVendor when app updates? 如何知道是否由于用户启动应用程序或系统而调用didFinishLaunchingWithOptions - How to know whether didFinishLaunchingWithOptions is called because of user launching the app or the system
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM