CIFilter object for a specific kind of filter and initializes the input values with a
nil-terminated list of arguments.
- iOS 5.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Image
The name of the filter. You must make sure the name is spelled correctly, otherwise your app will run but not produce any output images. For that reason, you should check for the existence of the filter after calling this method.
A list of key-value pairs to set as input values to the filter. Each key is a constant that specifies the name of the input value to set, and must be followed by a value. You signal the end of the list by passing a
CIFilter object whose input values are initialized.
As with all Objective-C methods that accept
nil-terminated argument lists, to prevent unintended behavior you must take take care not to pass a
nil value before the intended end of the argument list. You can avoid such issues by using the
filter method to create a filter, expressing the parameter list as a dictionary literal.