Initializer

init(effect:)

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

Declaration

init(effect: UIVisualEffect?)

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