init(blurEffect:)
Creates a vibrancy effect for a specific blur effect.
Declaration
init(blurEffect: UIBlurEffect)Parameters
- blurEffect:
The Uiblureffect used by the blurred view the vibrancy effect is attached to.
Return Value
The vibrancy effect to be used by a UIVisualEffectView object.
Discussion
When you create a new vibrancy effect, use the same UIBlurEffect that you used to create the blur view. Using a different UIBlurEffect can cause unwanted visual effect combinations.