Returns the preferred size of the layer in the coordinate space of its superlayer.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Core Animation
The layer’s preferred frame size.
In macOS, the default implementation of this method calls the preferredSize(of:) method of its layout manager—that is, the object in its
layout property. If that object does not exist or does not implement that method, this method returns the size of the layer’s current
bounds rectangle mapped into the coordinate space of its