Contents

UIVibrancyEffect

An object that amplifies and adjusts the color of the content layered behind a visual effect view.

Declaration

@MainActor class UIVibrancyEffect

Overview

A vibrancy effect is intended to be used as a subview of or layered on top of a UIVisualEffectView that has been configured with a UIBlurEffect. The use of a vibrancy effect can help the content placed inside the contentView become more vivid.

The vibrancy effect is color-dependent. Any subviews that you add to the contentView must implement the tintColorDidChange() method and update themselves accordingly. UIImageView objects with images that have a rendering mode of UIImage.RenderingMode.alwaysTemplate as well as UILabel objects update automatically.

Topics

Creating a vibrancy effect

Deprecated

Initializers

Default Implementations

See Also

Visual effects