Instance Property


A Boolean value that determines whether subviews are confined to the bounds of the view.


var clipsToBounds: Bool { get set }


Setting this value to true causes subviews to be clipped to the bounds of the receiver. If set to false, subviews whose frames extend beyond the visible bounds of the receiver are not clipped. The default value is false.