Type Property

notPermitted

A task scheduling error indicating the app isn’t permitted to launch the task.

Declaration

static var notPermitted: BGTaskScheduler.Error.Code { get }

Discussion

There are two causes for this error:

See Also

Error Codes

static var tooManyPendingTaskRequests: BGTaskScheduler.Error.Code

A task scheduling error indicating that there are too many pending tasks of the type requested.

static var unavailable: BGTaskScheduler.Error.Code

A task scheduling error indicating that the app or extension can’t schedule background work.