【问题标题】:Is this possible to keep polling http after the user inactive the iOS application?在用户停用 iOS 应用程序后,这是否可以继续轮询 http?
【发布时间】:2014-03-15 15:55:55
【问题描述】:

我有一个程序,它需要来自 HTTP 服务器的轮询结果,但 HTTP 服务器不会连接到 Apple 推送通知服务器。那么,这是否可以在用户点击首页底部后继续进行投票?谢谢。

【问题讨论】:

    标签: ios long-polling polling


    【解决方案1】:

    在 iOS7 中,Apple 引入了应用程序在另一个应用程序启动连接时刷新其数据的功能。你需要实现application:performFetchWithCompletionHandler:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-26
      • 2017-02-03
      • 1970-01-01
      • 1970-01-01
      • 2012-01-03
      • 2017-06-16
      相关资源
      最近更新 更多