isTorchModeSupported(_:)
Returns a Boolean value that indicates whether the device supports the specified torch mode.
Declaration
func isTorchModeSupported(_ torchMode: AVCaptureDevice.TorchMode) -> BoolParameters
- torchMode:
The desired torch mode.
Return Value
true if the device supports the torch mode; otherwise, false.