---
title: allowsCellularAccess
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/urlrequest/allowscellularaccess
---

# allowsCellularAccess

A Boolean value indicating whether the request is allowed to use the built-in cellular radios to satisfy the request.

## Declaration

```swift
var allowsCellularAccess: Bool { get set }
```

## Discussion

Discussion Setting this property to true makes the request eligible to run over cellular, subject to other considerations (including, but not limited to, the URLSessionConfiguration’s allowsCellularAccess property). Setting this value to false ensures that the request will never run over cellular.

## See Also

### Related Documentation

- [waitsForConnectivity](foundation/urlsessionconfiguration/waitsforconnectivity.md)

### Controlling request behavior

- [timeoutInterval](foundation/urlrequest/timeoutinterval.md)
- [httpShouldHandleCookies](foundation/urlrequest/httpshouldhandlecookies.md)
- [httpShouldUsePipelining](foundation/urlrequest/httpshouldusepipelining.md)
- [allowsPersistentDNS](foundation/urlrequest/allowspersistentdns.md)
- [assumesHTTP3Capable](foundation/urlrequest/assumeshttp3capable.md)
- [cookiePartitionIdentifier](foundation/urlrequest/cookiepartitionidentifier.md)
- [requiresDNSSECValidation](foundation/urlrequest/requiresdnssecvalidation.md)
