Reputation: 41685
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?
Upvotes: 8
Views: 1115
Reputation: 40502
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.
Upvotes: 10