ios - 停止后台获取任务 iOS
问题描述
我正在使用performFetchWithCompletionHandler
后台获取。当我想开始时,backgroundFetch
我使用UIApplication.shared.setMinimumBackgroundFetchInterval(UIApplication.backgroundFetchIntervalMinimum)
.
但我想停止这个背景获取。我怎样才能做到这一点 ?
解决方案
推荐阅读
- postgresql - 在 postgres 中匹配 regexp_replace 中的 2 个条件
- rest - Delphi REST 客户端 cookie
- angularjs - AngularJs - 如何在指令中访问控制器的功能和模型
- hadoop - 当我在 Hive 中使用 OpenCSVSerde 时,为什么所有列都被创建为字符串?
- java - IntelliJ Idea 高级搜索包含某个单词的类中的关键字
- c# - 如何为实体对象上下文设置命令超时
- javascript - 在 Jasmine 中测试属性的当前值
- python - Numpy:将几列与一列相乘
- python - python中的subprocess.call出错
- netflix-zuul - `zuul.ignored-services` 的有效模式