Is applicationDidFinishLaunching
guaranteed to be called after application is updated?
(when user first launches the updated version.)
In other words, the old version gets killed if it were running in background mode in update process?
Return Value false if the app cannot handle the URL resource or continue a user activity, otherwise return true . The return value is ignored if the app is launched as a result of a remote notification.
Discussion. Use this method (and the corresponding application(_:didFinishLaunchingWithOptions:) method) to initialize your app and prepare it to run. This method is called after your app has been launched and its main storyboard or nib file has been loaded, but before your app's state has been restored.
application:didFinishLaunchingWithOptions: is part of the UIApplicationDelegate protocol, which is responsible with handling different changes over your application state. You can find out more about this method and about the app delegate protocol in the Apple documentation from here.
Yes. The updater will kill your app before upgrading if it is backgrounded. This needs to happen since updates can often involve locked files and database migrations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With