Contents

isFlashAvailable(for:)

Queries whether the specified camera has flash illumination capability.

Declaration

class func isFlashAvailable(for cameraDevice: UIImagePickerController.CameraDevice) -> Bool

Parameters

Return Value

true if cameraDevice can use flash illumination, or false if it cannot.

See Also

Related Documentation

Configuring the flash behavior