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

# isPinchToZoomEnabled

A Boolean value that indicates whether people can use a two-finger
pinch-to-zoom gesture.

```
@MainActor final let isPinchToZoomEnabled: Bool
```

## Discussion

The default value is
`true`.

---

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)