<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "tvOS: 16.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIContentView-5fh3z/supports(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit13UIContentViewP8supportsySbAA0B13Configuration_pF"
  },
  "title" : "supports(_:)"
}
-->

# supports(_:)

Determines whether the view is compatible with the provided configuration.

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

## Parameters

`configuration`

The new configuration to test for compatibility.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the view supports this configuration being set to its [`configuration`](/documentation/UIKit/UIContentView-5fh3z/configuration) property and is capable of updating itself for the configuration; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

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

---

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)