Inserts the specified sublayer above a different sublayer that already belongs to the receiver.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
The sublayer to be inserted into the current layer.
An existing sublayer in the current layer. The layer in
ais inserted after this layer in the
sublayersarray, and thus appears in front of it visually.
sublayer is not in the receiver’s
sublayers array, this method raises an exception.