Instance Property shared Container Identifier
The identifier for the shared container into which files in background URL sessions should be downloaded.
iOS 8.0+ macOS 10.10+ Mac Catalyst 13.0+ Beta tvOS 9.0+ watchOS 2.0+ Declaration @property(copy) * NSString sharedContainerIdentifier;
To create a URL session for use by an app extension, set this property to a valid identifier for a container shared between the app extension and its containing app.
If you try to create a URL session from your app extension but fail to set this property to a valid value, the URL session is invalidated upon creation.
For information about app extensions, see
App Extension Programming Guide. See Also Setting General Properties identifier
The background session identifier of the configuration object.
network Service Type
The type of network service for all tasks within sessions based on this configuration.
allows Cellular Access
A Boolean value that determines whether connections should be made over a cellular network.
waits For Connectivity
A Boolean value that indicates whether the session should wait for connectivity to become available, or fail immediately.
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