Type Method


Returns a session configuration object that allows HTTP and HTTPS uploads or downloads to be performed in the background.


class func backgroundSessionConfiguration(_ identifier: String) -> URLSessionConfiguration



The unique identifier for the configuration object. This parameter must not be nil or an empty string.

Return Value

A URL session configuration object that causes upload and download tasks to be performed by the system in a separate process.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software