Class

UIVibrancyEffect

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

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 alwaysTemplate as well as UILabel objects will update automatically.

Topics

Creating a Vibrancy Effect

init(blurEffect: UIBlurEffect)

Creates a vibrancy effect for a specific blur effect.

class func widgetPrimary()

Creates a vibrancy effect suitable for use with certain supporting text and template images within a widget.

class func widgetSecondary()

Creates a vibrancy effect suitable for indicating the secondary importance or relevance of supporting text and template images within a widget.

class func notificationCenter()

Creates a vibrancy effect for use in Notification Center.

Deprecated

Relationships

Inherits From

See Also

Visual Adornments

class UIVisualEffect

An initializer for visual effect views and blur and vibrancy effect objects.

class UIVisualEffectView

An object that implements some complex visual effects.

class UIBlurEffect

An object that applies a blurring effect to the content layered behind a visual effect view.