needsDisplayOnBoundsChange
A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes.
Declaration
var needsDisplayOnBoundsChange: Bool { get set }Discussion
When this property is set to true, the layer automatically calls its setNeedsDisplay() method whenever its bounds property changes. The default value of this property is false.