Proper way to exit iPhone application?

前端 未结 25 2737
难免孤独
难免孤独 2020-11-22 01:54

I am programming an iPhone app, and I need to force it to exit due to certain user actions. After cleaning up memory the app allocated, what\'s the appropriate method to ca

25条回答
  •  攒了一身酷
    2020-11-22 02:41

    Go to your info.plist and check the key "Application does not run in background". This time when the user clicks the home button, the application exits completely.

提交回复
热议问题