【问题标题】:How to run the iOS App when screen is locked [duplicate]屏幕锁定时如何运行iOS应用程序[重复]
【发布时间】:2014-03-10 13:23:31
【问题描述】:

我正在使用 NSURLConnection 从服务器下载一些文件。当应用程序处于前台或后台时,它可以正常工作。 iPhone 屏幕锁定时应用程序未运行。 我的客户也希望应用程序在锁定模式下运行。锁屏时有什么方法可以下载数据。

【问题讨论】:

    标签: ios iphone ios5 ios6 nsurlconnection


    【解决方案1】:

    当设备被锁定时你不能测试应用程序

    检查这个苹果doc

    【讨论】:

      【解决方案2】:

      如果您将应用锁屏,您的应用将被 Apple 拒绝。

      参考这些已经回答的链接:

      GameKit keeping connection going while device screen off or in background

      Running IOS App with Screen Locked

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-10-23
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-12-04
        • 2023-03-19
        相关资源
        最近更新 更多