UIApplicationExitsOnSuspend anything else I'm missing?

后端 未结 6 1822
借酒劲吻你
借酒劲吻你 2021-02-08 23:17

So I know this has been beaten to death but I still can\'t figure out a solution.

I have my UIApplicationExitsOnSuspend set to in the Info.pli

6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-08 23:36

    Setting YES to UIApplicationExitsOnSuspend , worked well for me from the first time,But i didn realize,as my app was shown when double-clicking.

    "double-clicking on the home button will always show your app , as it is a list of recently used apps. ( Ref: http://www.apple.com/iphone/features/multitasking.html ) "

    If applicationWillTerminate delegate method is called, then you are done with that.. (Add a break point or NSLog to check )

    Just a tip. Hope this helps some one like me..;)

提交回复
热议问题