Skip to content

BackgroundFetchStatus

Authorization status returned by BackgroundFetch.status and BackgroundFetch.configure.

STATUS_AVAILABLE

case available  // UIBackgroundRefreshStatus.available

Background fetch is available and enabled.

STATUS_DENIED

case denied  // UIBackgroundRefreshStatus.denied

The user explicitly disabled background behavior for this app or for the whole system.

STATUS_RESTRICTED

case restricted  // UIBackgroundRefreshStatus.restricted

Background fetch updates are unavailable and the user cannot enable them again (e.g. parental controls are in effect).