<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/IKFilterCustomUIProvider/provideView(forUIConfiguration:excludedKeys:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(pl)IKFilterCustomUIProvider(im)provideViewForUIConfiguration:excludedKeys:"
  },
  "title" : "provideView(forUIConfiguration:excludedKeys:)"
}
-->

# provideView(forUIConfiguration:excludedKeys:)

Provides a custom view for a filter.

```
func provideView(forUIConfiguration inUIConfiguration: [AnyHashable : Any]!, excludedKeys inKeys: [Any]!) -> IKFilterUIView!
```

## Parameters

`inUIConfiguration`

A dictionary that specifies the size of the controls.  Provide the key `IKUISizeFlavor` and one of the following values: `IKUISizeMini`, `IKUISizeSmall`, or  `IKUISizeRegular`. For more information on these constants, see *User Interface Options* in CIFilter Image Kit Additions.

`inKeys`

An array of the input keys for which you do *not* want to provide a user interface. Pass `nil` if you want all input keys to be represented in the user interface.

## Return Value

An [`IKFilterUIView`](/documentation/Quartz/IKFilterUIView) object or `nil` if the filter is unable to provide a view. If `nil`, the Image Kit framework will attempt to provide a user interface.

## Discussion

This method overrides the method <doc://com.apple.documentation/documentation/CoreImage/CIFilter-swift.class/view(forUIConfiguration:excludedKeys:)>.

---

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)