Recalculate the receiver’s layout, if required.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
When this message is received, the layer’s super layers are traversed until a ancestor layer is found that does not require layout. Then layout is performed on the entire layer-tree beneath that ancestor.
Managing Layer Resizing and Layout
The object responsible for laying out the layer’s sublayers.
Invalidates the layer’s layout and marks it as needing an update.
Returns a Boolean indicating whether the layer has been marked as needing a layout update.
A bitmask defining how the layer is resized when the bounds of its superlayer changes.
Returns the preferred size of the layer in the coordinate space of its superlayer.