SDKs
- iOS 6.0+
- macOS 10.15+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
const float AVCaptureMaxAvailableTorchLevel;
Discussion
This constant always represents the maximum available torch level, independent of the actual maximum value currently supported by the device. Thus, pass this constant to the set
in situations where you want to specify the maximum torch level without having to worry about whether the device is overheating and might not accept a value of 1.0 as the maximum.