---
title: isFlashScene
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/isflashscene
---

# isFlashScene

A Boolean value indicating whether the scene currently being previewed by the camera warrants use of the flash.

## Declaration

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

## Discussion

Discussion This property’s value changes depending on the scene currently visible to the camera. For example, you might use this property to highlight the flash control in your app’s camera UI, indicating to the user that the scene is dark enough that enabling the flash might be desirable. If the photo capture output’s supportedFlashModes value is AVCaptureDevice.FlashMode.off, this property’s value is always false. This property supports key-value observing.

## See Also

### Monitoring the visible scene

- [photoSettingsForSceneMonitoring](avfoundation/avcapturephotooutput/photosettingsforscenemonitoring.md)
