Which methods are called when user presses home button and double presses it again to return
I want to know which methods (events) are called when user presses home button and double presses it aga开发者_JAVA百科in to return to my app.
applicationDidEnterBackground
applicationWillEnterForeground
These all called in the app delegate
All details can be found here: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIApplicationDelegate_Protocol/Reference/Reference.html
精彩评论