Instance Property

backgroundFilters

An array of Core Image filters to apply to the view’s background.

Declaration

@property(copy) NSArray<__kindof CIFilter *> *backgroundFilters;

Discussion

This property contains an array of CIFilter objects. This array represents the background filters stored in the backgroundFilters property of the view’s layer. If the view does not have a layer, setting the value of this property has no effect.

The default value of this property is an empty array.

See Also

Managing Layer-Related Properties

alphaValue

The opacity of the view.

frameCenterRotation

The rotation angle of the view around the center of its layer.

compositingFilter

The Core Image filter used to composite the view’s contents with its background.

contentFilters

An array of Core Image filters to apply to the contents of the view and its sublayers.

shadow

The shadow displayed underneath the view.