小编Gur*_*ngh的帖子

iOS 13安排iOS后台任务

我正在实现BackgroundTasks框架来更新数据。但是我遇到了以下问题

Could not schedule refreshApp: Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)"
Could not schedule data featch: Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)"
2019-10-01 19:19:32.550320+0530 SOBackgroundTask[34131:1129470] Can't end BackgroundTask: no background task exists with identifier 3 (0x3), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
Run Code Online (Sandbox Code Playgroud)

ios13 xcode11 swift5.1

1
推荐指数
3
解决办法
733
查看次数

标签 统计

ios13 ×1

swift5.1 ×1

xcode11 ×1