Tells the layer to update its layout.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
Subclasses can override this method and use it to implement their own layout algorithm. Your implementation must set the frame of each sublayer managed by the receiver.
The default implementation of this method calls the layoutSublayers(of:) method of the layer’s delegate object. If there is no delegate object, or the delegate does not implement that method, this method calls the
layout method of the object in the