Constants that indicate the result of a background fetch operation.



case newData

New data was successfully downloaded.

case noData

There was no new data to download.

case failed

An attempt to download data was made but that attempt failed.

See Also

Downloading Data in the Background

func application(UIApplication, performFetchWithCompletionHandler: (UIBackgroundFetchResult) -> Void)

Tells the app that it can begin a fetch operation if it has data to download.

func application(UIApplication, handleEventsForBackgroundURLSession: String, completionHandler: () -> Void)

Tells the delegate that events related to a URL session are waiting to be processed.