【问题标题】:How to avoid to make an app not in the background running list如何避免让应用不在后台运行列表中
【发布时间】:2013-02-03 08:27:20
【问题描述】:

是否可以让应用不进入后台运行应用列表。

【问题讨论】:

    标签: ios4


    【解决方案1】:

    查看将 UIApplicationExitsOnSuspend 添加到您的应用程序 pList

    UIApplicationExitsOnSuspend anything else I'm missing?

    【讨论】:

      【解决方案2】:

      你需要添加

      UIApplicationExitsOnSuspend
      

      到您的 .plist 文件。

      这将在按下主页按钮时终止您的应用,而不是将其发送到后台。 换句话说,下次您点击应用程序图标时,应用程序将重新启动,而不是从您离开时的位置恢复。

      这是我的 .plist 的屏幕截图:

      【讨论】:

        猜你喜欢
        • 2020-09-27
        • 2012-03-02
        • 1970-01-01
        • 2011-09-20
        • 2020-01-22
        • 2015-01-04
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多