Class

UIVibrancyEffect

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

Declaration

@interface UIVibrancyEffect : UIVisualEffect

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

Topics

Creating a Vibrancy Effect

+ effectForBlurEffect:style:

Creates a vibrancy effect with the specified blur and style values.

+ effectForBlurEffect:

Creates a vibrancy effect for a specific blur effect.

UIVibrancyEffectStyle

Constants for the vibrancy styles.

Getting Standard Vibrancy Effects

+ widgetPrimaryVibrancyEffect

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

Deprecated
+ widgetSecondaryVibrancyEffect

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

Deprecated
+ notificationCenterVibrancyEffect

Creates a vibrancy effect for use in Notification Center.

Deprecated

Relationships

Inherits From

See Also

Visual Effects

UIVisualEffect

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

UIVisualEffectView

An object that implements some complex visual effects.

UIBlurEffect

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