<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoBracketSettings/isLensStabilizationEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoBracketSettings(py)lensStabilizationEnabled"
  },
  "title" : "isLensStabilizationEnabled"
}
-->

# isLensStabilizationEnabled

A Boolean value that specifies whether to stabilize the lens for the duration of the bracketed capture.

```
var isLensStabilizationEnabled: Bool { get set }
```

## Discussion

When this setting is <doc://com.apple.documentation/documentation/Swift/true>, the photo output uses optical image stabilization to hold the lens steady for the duration of the bracketed capture, helping to counter hand shake and produce a sharper bracket of images. The default setting is <doc://com.apple.documentation/documentation/Swift/false>.

You can enable this setting only if the photo output’s [`isLensStabilizationDuringBracketedCaptureSupported`](/documentation/AVFoundation/AVCapturePhotoOutput/isLensStabilizationDuringBracketedCaptureSupported) property is <doc://com.apple.documentation/documentation/Swift/true>. The capture output validates this requirement when you call the [`capturePhoto(with:delegate:)`](/documentation/AVFoundation/AVCapturePhotoOutput/capturePhoto(with:delegate:)) method. If your settings and delegate do not meet this requirement, that method raises an exception.

---

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)