iPhone UIApplicationExitsOnSuspend 无效
UIApplicationExitsOnSuspend 不会强制我的应用程序退出。我已经清理过目标、删除了应用程序、重建并重新安装了很多次。
我真的需要我的应用程序退出。
UIApplicationExitsOnSuspend does not force my app to exit. I have cleaned the target, removed the app, rebuilt, and reinstalled many times.
I really need my app to exit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您是否链接了 SDK 4?该键仅在这种情况下有效。
Did you link against SDK 4? This key is only effective in this case.
您确定您的应用程序仍然有效吗?
双击主页按钮时,您将始终看到您的应用程序:这是最近使用的应用程序的列表,而不是当前正在运行的应用程序的列表
在应用程序委托的 applicationWillTerminate: 方法中放置一个断点,如果它停止在这个方法中,就意味着你被杀死了。
希望这有帮助,
文森特
Are you sure your application is still active ?
You will always see your application when double tapping the home button : this is a list of the recently used apps, not a list of currently running apps
Put a breakpoint in the applicationWillTerminate: method of your app delegate, if it stops in this method it means your is killed.
Hope this helps,
Vincent
有时,当人们键入“在 plist 文件中将其设置为 true”时,他们真正的意思是:
TRUE 或 YES 在 info.plist 文件中不起作用。
BOOLEAN 是唯一启用它的标志。
Sometimes when people type "set it to true in the plist file" what they really mean is:
TRUE or YES in a string format does NOT work in the info.plist file.
BOOLEAN is the only flag that enables it.
尝试一下它可以帮助您
在 info.plist 中添加“应用程序不在后台运行”=“是”。
就是这样。现在您第二次打开同一个应用程序。它会以起始页打开。
谢谢
Try this it helps you
in info.plist, add "Application does not run in background" = "YES".
thats it.now you open second time same application.It open with start page.
Thanks