---
title: AVCaptureDevice.TorchMode.auto
framework: avfoundation
role: symbol
role_heading: Case
path: avfoundation/avcapturedevice/torchmode-swift.enum/auto
---

# AVCaptureDevice.TorchMode.auto

The capture device continuously monitors light levels and uses the torch when necessary.

## Declaration

```swift
case auto
```

## See Also

### Torch modes

- [AVCaptureDevice.TorchMode.off](avfoundation/avcapturedevice/torchmode-swift.enum/off.md)
- [AVCaptureDevice.TorchMode.on](avfoundation/avcapturedevice/torchmode-swift.enum/on.md)
