Which methods are called when user presses home button and double presses it again to return

前端 未结 1 1661
暗喜
暗喜 2021-01-20 11:02

I want to know which methods (events) are called when user presses home button and double presses it again to return to my app.

相关标签:
1条回答
  • 2021-01-20 11:39
    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

    0 讨论(0)
提交回复
热议问题