allowsCellularAccess
A Boolean value that indicates whether a connection can use the device’s cellular network (if present).
Declaration
var allowsCellularAccess: Bool { get set }Discussion
Setting this property to true (the default) makes the request eligible to run over cellular, subject to other considerations (including, but not limited to, the allowsCellularAccess property of the URLSessionConfiguration). Setting this value to false ensures that the request will never run over cellular.