Application state transitions


#1

If I double-click the home button and swipe the app up while the screen of it is appearing, the console reports two ‘DidEnterBackground:’ and one ‘WillTerminate:’ logs. Isn’t it right to print one of each?

As the book says, if I double-click the home button and swipe the app up while the screen of it is not appearing, the console reports nothing. If so, ‘WillTerminate:’ seems useless since it’s not always called when it terminates.