Informs the receiver’s sublayers that the receiver’s size has changed.
Mac Catalyst 13.0+
The previous size of the current layer.
When the autoresizingMask property is used for resizing and the bounds of this layer change, the layer calls this method. The default implementation calls the resizeWithOldSuperlayerSize: method of each sublayer to let it know its superlayer’s bounds changed. You should not need to call or override this method directly.