<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoOutput/isFlashScene",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoOutput(py)isFlashScene"
  },
  "title" : "isFlashScene"
}
-->

# isFlashScene

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

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

## 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`](/documentation/AVFoundation/AVCapturePhotoOutput/supportedFlashModes-4u69s) value is [`AVCaptureDevice.FlashMode.off`](/documentation/AVFoundation/AVCaptureDevice/FlashMode-swift.enum/off), this property’s value is always <doc://com.apple.documentation/documentation/Swift/false>.

This property supports key-value observing.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)