Instance Property

allowsCellularAccess

A Boolean value that determines whether connections should be made over a cellular network.

Declaration

@property BOOL allowsCellularAccess;

Discussion

This property controls whether tasks in sessions based on this session configuration are allowed to make connections over a cellular network.

The default value is YES.

For more information, read Restrict Cellular Networking Correctly.

See Also

Setting General Properties

identifier

The background session identifier of the configuration object.

HTTPAdditionalHeaders

A dictionary of additional headers to send with requests.

networkServiceType

The type of network service for all tasks within sessions based on this configuration.

timeoutIntervalForRequest

The timeout interval to use when waiting for additional data.

timeoutIntervalForResource

The maximum amount of time that a resource request should be allowed to take.

sharedContainerIdentifier

The identifier for the shared container into which files in background URL sessions should be downloaded.

waitsForConnectivity

A Boolean value that indicates whether the session should wait for connectivity to become available, or fail immediately.

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