mask
An optional view whose alpha channel is used to mask a view’s content.
Declaration
var mask: UIView? { get set }Discussion
The view’s alpha channel determines how much of the view’s content and background shows through. Fully or partially opaque pixels allow the underlying content to show through but fully transparent pixels block that content.