[英]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
. 我已经搜索了一下,发现我必须在
plist
中将UIApplicationExitsOnSuspend
设置为YES
。 But where in plist
should I add this? 但是我应该在
plist
哪个位置添加呢?
Can someone help me out? 有人可以帮我吗?
转到支持文件文件夹中的“ AppName-Info” plist,您必须添加“应用程序不在后台运行”并将其更改为“是”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.