<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/URLSessionTaskTransactionMetrics/isCellular",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSURLSessionTaskTransactionMetrics(py)cellular"
  },
  "title" : "isCellular"
}
-->

# isCellular

A Boolean value that indicates whether the connection operates over a cellular interface.

```
var isCellular: Bool { get }
```

## Discussion

You permit or deny use of cellular interfaces with the [`allowsCellularAccess`](/documentation/Foundation/URLSessionConfiguration/allowsCellularAccess) property on [`URLSessionConfiguration`](/documentation/Foundation/URLSessionConfiguration) or [`allowsCellularAccess`](/documentation/Foundation/URLRequest/allowsCellularAccess) on [`URLRequest`](/documentation/Foundation/URLRequest).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)