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.