isFlashModeSupported(_:)
Returns a Boolean value that indicates whether the device supports the given flash mode.
Declaration
func isFlashModeSupported(_ flashMode: AVCaptureDevice.FlashMode) -> BoolParameters
- flashMode:
A flash mode to test if the device supports.
Return Value
true if the device supports the flash mode; otherwise, false.