Modifier

Partager via


UIImagePickerControllerCameraFlashMode Enum

Definition

An enumeration of values used by CameraFlashMode

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIImagePickerControllerCameraFlashMode
type UIImagePickerControllerCameraFlashMode = 
Inheritance
UIImagePickerControllerCameraFlashMode
Attributes

Fields

Name Value Description
Off -1

The flash is always off, no matter the ambient conditions.

Auto 0

The device takes into consideration ambient light when determining flash.

On 1

The flash will fire, no matter ambient light conditions.

Remarks

Determines whether the flash will be on, off, or as-needed.

Applies to