---
title: "supports(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uicontentview-5fh3z/supports(_:)"
---

# supports(_:)

Determines whether the view is compatible with the provided configuration.

## Declaration

```swift
@MainActor func supports(_ configuration: any UIContentConfiguration) -> Bool
```

## Parameters

- `configuration`: The new configuration to test for compatibility.

## Return Value

Return Value true if the view supports this configuration being set to its configuration property and is capable of updating itself for the configuration; otherwise, false.

## Discussion

Discussion The default implementation assumes the view is compatible with configuration types that match the type of the view’s existing configuration.
