---
title: isFlashAvailable
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/isflashavailable
---

# isFlashAvailable

A Boolean value that indicates whether the flash is currently available for use.

## Declaration

```swift
var isFlashAvailable: Bool { get }
```

## Discussion

Discussion The flash may become unavailable if, for example, the device overheats and needs to cool off. This property is key-value observable.

## See Also

### Configuring flash settings

- [hasFlash](avfoundation/avcapturedevice/hasflash.md)
- [isFlashActive](avfoundation/avcapturedevice/isflashactive.md)
- [flashMode](avfoundation/avcapturedevice/flashmode-swift.property.md)
- [isFlashModeSupported(_:)](avfoundation/avcapturedevice/isflashmodesupported(_:).md)
- [AVCaptureDevice.FlashMode](avfoundation/avcapturedevice/flashmode-swift.enum.md)
