Background Task Cancellation reasons

Constants that indicate why a background task was cancelled.

Overview

These values are used in conjunction with the NSURLErrorBackgroundTaskCancelledReasonKey key in an NSError object’s userInfo dictionary.

Symbols

Constants

var NSURLErrorCancelledReasonUserForceQuitApplication: Int

The operation was canceled because the user forced the app to quit.

var NSURLErrorCancelledReasonBackgroundUpdatesDisabled: Int

The operation was canceled because background updates are disabled. See Background Execution for more information.

var NSURLErrorCancelledReasonInsufficientSystemResources: Int