The layer’s position in its superlayer’s coordinate space. Animatable.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The value of this property is specified in points and is always specified relative to the value in the
anchorPoint property. For new standalone layers, the default position is set to (0.0, 0.0). Changing the
frame property also updates the value in this property.
For more information about the relationship between the
position properties, see Core Animation Programming Guide.
Modifying the Layer Geometry
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software