isCameraLensSmudgeDetectionSupported
Whether camera lens smudge detection is supported.
Declaration
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 also reverts to false. If you opt in for lens smudge detection and then change configurations, you should set isCameraLensSmudgeDetectionEnabled to true again.