简体   繁体   中英

Exiting an application when it goes to the background

When the application goes to the background I need to exit the application. I have googled and found out that I have to set UIApplicationExitsOnSuspend to YES in the plist . But where in plist should I add this?

Can someone help me out?

转到支持文件文件夹中的“ AppName-Info” plist,您必须添加“应用程序不在后台运行”并将其更改为“是”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM