<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/Format/isCameraLensSmudgeDetectionSupported",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDeviceFormat(py)cameraLensSmudgeDetectionSupported"
  },
  "title" : "isCameraLensSmudgeDetectionSupported"
}
-->

# isCameraLensSmudgeDetectionSupported

Whether camera lens smudge detection is supported.

```
var isCameraLensSmudgeDetectionSupported: Bool { get }
```

## Discussion

This property returns `true` if the session’s current configuration supports lens smudge detection. When switching cameras or formats, this property may change. When this property changes from `true` to `false`, [`isCameraLensSmudgeDetectionEnabled`](/documentation/AVFoundation/AVCaptureDevice/isCameraLensSmudgeDetectionEnabled) also reverts to `false`. If you opt in for lens smudge detection and then change configurations, you should set [`isCameraLensSmudgeDetectionEnabled`](/documentation/AVFoundation/AVCaptureDevice/isCameraLensSmudgeDetectionEnabled) to `true` again.

---

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)