init(containerView:style:)

Creates a Uihovereffectlayer with the provided containerView and style. If a nil style is provided, the automatic style will be used instead.

Declaration

init(containerView: UIView, style: UIHoverStyle?)