BackgroundTasks iOS 12.4 to 13.0 API Differences
BGDefines.h
Added
#def BG_EXTERN
BGTask.h
Added
BGTask
Added
BGTask.identifier
Added
BGTask.expirationHandler
Added
-[BGTask setTaskCompletedWithSuccess:]
Added
BGProcessingTask
Added
BGAppRefreshTask
BGTaskRequest.h
Added
BGTaskRequest
Added
BGTaskRequest.identifier
Added
BGTaskRequest.earliestBeginDate
Added
BGAppRefreshTaskRequest
Added
-[BGAppRefreshTaskRequest initWithIdentifier:]
Added
BGProcessingTaskRequest
Added
-[BGProcessingTaskRequest initWithIdentifier:]
Added
BGProcessingTaskRequest.requiresNetworkConnectivity
Added
BGProcessingTaskRequest.requiresExternalPower
BGTaskScheduler.h
Added
BGTaskSchedulerErrorDomain
Added
BGTaskSchedulerErrorCode
Added
BGTaskSchedulerErrorCodeUnavailable
Added
BGTaskSchedulerErrorCodeTooManyPendingTaskRequests
Added
BGTaskSchedulerErrorCodeNotPermitted
Added
BGTaskScheduler
Added
BGTaskScheduler.sharedScheduler
Added
-[BGTaskScheduler registerForTaskWithIdentifier:usingQueue:launchHandler:]
Added
-[BGTaskScheduler submitTaskRequest:error:]
Added
-[BGTaskScheduler cancelTaskRequestWithIdentifier:]
Added
-[BGTaskScheduler cancelAllTaskRequests]
Added
-[BGTaskScheduler getPendingTaskRequestsWithCompletionHandler:]