---
title: isFlashActive
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/isflashactive
---

# isFlashActive

A Boolean value that indicates whether the flash is currently active.

## Declaration

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

## Discussion

Discussion When the flash is active, it flashes when capturing a photo. This property is key-value observable.

## See Also

### Configuring flash settings

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