ios - 以 15 分钟的时间间隔在服务器上发送纬度和经度

标签 ios iphone core-location

我想以 15 分钟的时间间隔在服务器上发送设备的纬度和经度,即使我的应用程序没有在后台运行。这可能与否。

最佳答案

背景是可能的,但如果你杀了应用程序然后没有,Appstore 将不允许这样的应用程序。另一件事它也会耗尽设备电池。

启用背景模式。

enter image description here

关于ios - 以 15 分钟的时间间隔在服务器上发送纬度和经度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40653387/

相关文章:

ios - 警告 : Attempt to present whose view is not in the window hierarchy! swift

ios - 是否可以让 CoreBluetooth 始终开启并扫描?

ios - 为什么 xCode 无法构建我的 flutter 应用程序并出现 'sqflite' 未找到错误

ios - 根据条件在 View Controller 之间进行 Segue

iphone - NSRunloops 和强制事件处理

ios - 在 CLLocationCoordinate2d 的半径内过滤 PHAssetCollection

ios - xcode - 如何在没有 CoreLocation 的情况下找到你的当前位置

ios动画。嵌套动画如何影响持续时间?

ios - tableview 中的这个空白区域是什么?

iPhone:iPhone视频录制功能中的照相亭倒计时功能?