<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/maxAvailableTorchLevel",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@AVCaptureMaxAvailableTorchLevel"
  },
  "title" : "maxAvailableTorchLevel"
}
-->

# maxAvailableTorchLevel

A constant that indicates to set the torch to its maximum level.

```
class let maxAvailableTorchLevel: Float
```

## Discussion

Pass this value to the [`setTorchModeOn(level:)`](/documentation/AVFoundation/AVCaptureDevice/setTorchModeOn(level:)) method to set the torch to the maximum level currently available. Under thermal duress, the maximum available torch level may be less than 1.0.

---

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)