Contents

unavailable

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

Declaration

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

Discussion

This error usually occurs for one of three reasons:

  • A person disabled background refresh in settings.

  • The app runs on Simulator which doesn’t support background processing.

  • The extension either didn’t set RequestsOpenAccess to YES in The Info.plist File, or a person didn’t grant open access.

See Also

Getting the error codes