<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/DataScannerViewController/isAvailable",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "VisionKit"
    ],
    "preciseIdentifier" : "s:9VisionKit25DataScannerViewControllerC11isAvailableSbvpZ"
  },
  "title" : "isAvailable"
}
-->

# isAvailable

A Boolean value that indicates whether a person grants your app access
to the camera and doesn’t have any restrictions to using the camera.

```
@MainActor class var isAvailable: Bool { get }
```

## Discussion

For example, this property may be
`false` if a person
has Screen Time restrictions.

---

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)