---
title: flashOn
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/flashon
---

# flashOn

A value that indicates if the camera used a flash to capture the image.

## Declaration

```swift
var flashOn: NSNumber? { get set }
```

## Discussion

Discussion The value of this property is 1 if the flash is on; otherwise, 0.

## See Also

### Describing images

- [isoSpeed](corespotlight/cssearchableitemattributeset/isospeed.md)
- [acquisitionMake](corespotlight/cssearchableitemattributeset/acquisitionmake.md)
- [acquisitionModel](corespotlight/cssearchableitemattributeset/acquisitionmodel.md)
- [aperture](corespotlight/cssearchableitemattributeset/aperture.md)
- [bitsPerSample](corespotlight/cssearchableitemattributeset/bitspersample.md)
- [cameraOwner](corespotlight/cssearchableitemattributeset/cameraowner.md)
- [colorSpace](corespotlight/cssearchableitemattributeset/colorspace.md)
- [focalLength](corespotlight/cssearchableitemattributeset/focallength.md)
- [focalLength35mm](corespotlight/cssearchableitemattributeset/focallength35mm.md)
- [layerNames](corespotlight/cssearchableitemattributeset/layernames.md)
- [lensModel](corespotlight/cssearchableitemattributeset/lensmodel.md)
- [orientation](corespotlight/cssearchableitemattributeset/orientation.md)
- [pixelCount](corespotlight/cssearchableitemattributeset/pixelcount.md)
- [pixelHeight](corespotlight/cssearchableitemattributeset/pixelheight.md)
- [pixelWidth](corespotlight/cssearchableitemattributeset/pixelwidth.md)
