我正在查看apple documentation,但是看不到函数调用来告诉我我还剩下多少时间来执行后台提取。
如何查看剩余的背景提取时间预算?
//请求每90分钟刷新一次: UIApplication.shared.setMinimumBackgroundFetchInterval(90 * 60)
func application(_ application: UIApplication,
performFetchWithCompletionHandler completionHandler:
@escaping (UIBackgroundFetchResult) -> Void) {
//how to check if I still have background execution time remaining?
}