allowsCellularAccess
allowsCellularAccess is a boolean property of URLSessionConfiguration in Apple’s networking framework. It determines whether a URLSession is allowed to use the device’s cellular data connection for its network requests. When set to true, the session may transmit data over cellular networks; when false, the session will avoid using cellular connectivity and will rely on other available interfaces such as Wi‑Fi.
Default behavior and impact: The default value is true, meaning cellular data is allowed unless explicitly
Usage: To apply the setting, create or modify a URLSessionConfiguration instance, set allowsCellularAccess, and then create
Limitations and scope: The property applies to all tasks created with the given configuration. It does not
See also: URLSessionConfiguration, URLSession, network reachability concepts.