Instance Property

flashAvailable

Indicates whether the flash is currently available for use.

Declaration

@property(nonatomic, readonly, getter=isFlashAvailable) BOOL flashAvailable;

Discussion

The flash may become unavailable if, for example, the device overheats and needs to cool off.

You can observe changes to the value of this property using Key-value observing.

See Also

Managing Flash Settings

hasFlash

Indicates whether the capture device has a flash.

AVCaptureFlashMode

Constants to specify the flash mode of a capture device.

flashMode

The device’s current flash mode.

- isFlashModeSupported:

Returns a Boolean value that indicates whether the device supports the given flash mode.

flashActive

Indicates whether the flash is currently active.

Deprecated