---
title: isAutoFocusRangeRestrictionSupported
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/isautofocusrangerestrictionsupported
---

# isAutoFocusRangeRestrictionSupported

A Boolean value that indicates whether the device supports focus range restrictions.

## Declaration

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

## Discussion

Discussion Focus range restriction is available only on compatible devices. If this property’s value is false, setting the value of autoFocusRangeRestriction raises an exception.

## See Also

### Configuring automatic focus

- [isFocusModeSupported(_:)](avfoundation/avcapturedevice/isfocusmodesupported(_:).md)
- [focusMode](avfoundation/avcapturedevice/focusmode-swift.property.md)
- [AVCaptureDevice.FocusMode](avfoundation/avcapturedevice/focusmode-swift.enum.md)
- [isSmoothAutoFocusSupported](avfoundation/avcapturedevice/issmoothautofocussupported.md)
- [isSmoothAutoFocusEnabled](avfoundation/avcapturedevice/issmoothautofocusenabled.md)
- [isFaceDrivenAutoFocusEnabled](avfoundation/avcapturedevice/isfacedrivenautofocusenabled.md)
- [automaticallyAdjustsFaceDrivenAutoFocusEnabled](avfoundation/avcapturedevice/automaticallyadjustsfacedrivenautofocusenabled.md)
- [autoFocusRangeRestriction](avfoundation/avcapturedevice/autofocusrangerestriction-swift.property.md)
- [AVCaptureDevice.AutoFocusRangeRestriction](avfoundation/avcapturedevice/autofocusrangerestriction-swift.enum.md)
