IOS app life cycle during update

I would like to know what state is in the app when the app is updated.

For example: Let's say we have an application (called Le Music) running that plays music in the background.

Now we go to the store and see that an update is available and we click update. What is the life cycle of the current version of Le Music during the transition from the old version of the application to the new version

+3


source to share


1 answer


Your app will be replaced. This means that it will be terminated. You are running in the background of ex hypothesis, so the only event you might want to receive is applicationWillTerminate

. (That said, I wouldn't count on it: see this answer .) If you were in the background but not running, you wouldn't receive any event at all.



+2


source







All Articles