Instance Method

initWithEffect:

Creates a new visual effect view with the designated visual effect.

Declaration

- (instancetype)initWithEffect:(UIVisualEffect *)effect;

Parameters

effect

The UIVisualEffect you provide for the view. This can be a UIBlurEffect or a UIVibrancyEffect.

Return Value

The new view containing the designated visual effect.

See Also

Creating a New Visual Effect View