layoutSublayers()
Tells the layer to update its layout.
Declaration
func layoutSublayers()Discussion
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 in Swift or layoutSublayersOfLayer: method in Objective-C of the layer’s delegate object. If there is no delegate object, or the delegate does not implement that method, this method calls the layoutSublayers(of:) method in Swift or layoutSublayersOfLayer: method in Objective-C of the object in the layoutManager property.