Instance Property

contentView

A UIView object that can have a visual effect view added to it.

Declaration

var contentView: UIView { get }

Discussion

Add subviews to the contentView and not to UIVisualEffectView directly.

See Also

Retrieving View Information

var effect: UIVisualEffect?

The visual effect provided by the view.