简体   繁体   English

进入后台时退出应用程序

[英]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.

相关问题 当应用程序进入后台时关闭它 - Close the application when it goes to the background 当应用程序进入后台时,是否可以调用webRequest? - Is it possible to call webRequest when application goes in background? 应用程序进入后台时播放MPMoviePlayer - MPMoviePlayer play on when application goes Background 当应用程序进入后台时,MPMoviePlayer会在来电时播放 - MPMoviePlayer play on when application goes Background when incoming call is coming 要在应用程序进入后台时保持AVPlayer播放 - want to keep AVPlayer playing when application goes to background 当 iOS 应用程序进入后台时,冗长的任务是否暂停? - When an iOS application goes to the background, are lengthy tasks paused? ModalViewController在应用程序启动时进入后台 - ModalViewController goes to background on application start 在应用程序进入后台之前执行UI操作 - Perform UI operations before application goes into background 当我的应用程序进入后台时,为什么我的无限UIView动画会停止? - Why does my indefinite UIView animation stop when my application goes to the background? 应用程序从后台状态到前台时的 OpenTok 视频通话问题 - OpenTok Video Call Issue when application goes from background state to foreground
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM