---
title: "isWhiteBalanceModeSupported(_:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturedevice/iswhitebalancemodesupported(_:)"
---

# isWhiteBalanceModeSupported(_:)

Returns a Boolean value that indicates whether the device supports the specified white balance mode.

## Declaration

```swift
func isWhiteBalanceModeSupported(_ whiteBalanceMode: AVCaptureDevice.WhiteBalanceMode) -> Bool
```

## Parameters

- `whiteBalanceMode`: A white balance mode to use.

## Return Value

Return Value true if the device supports the white balance mode; otherwise, false.

## See Also

### Configuring automatic white balance

- [whiteBalanceMode](avfoundation/avcapturedevice/whitebalancemode-swift.property.md)
- [AVCaptureDevice.WhiteBalanceMode](avfoundation/avcapturedevice/whitebalancemode-swift.enum.md)
