VibrancyView
@available(iOS 13.0, *)
public class VibrancyView : UIVisualEffectView
A UIVisualEffectView that embeds a view
-
Creates a UIVisualEffectView
Declaration
Swift
public init( blurStyle blur: UIBlurEffect.Style = UIBlurEffect.Style.regular, vibrancyStyle vibrancy: UIVibrancyEffectStyle = .fill, closure: () -> UIView )
Parameters
blurStyle
UIBlurEffect.Style (Default: .regular)
vibrancyStyle
UIVibrancyEffectStyle (Default: .fill)
closure
View to embed into the contentView