Specifies the transform applied to the receiver, relative to the center of its bounds.
- iOS 2.0+
- tvOS 9.0+
The origin of the transform is the value of the
center property, or the layer’s
anchor property if it was changed. (Use the
layer property to get the underlying Core Animation layer object.) The default value is CGAffineTransformIdentity.
Changes to this property can be animated. Use the
begin class method to begin and the
commit class method to end an animation block. The default is whatever the center value is (or anchor point if changed)
In iOS 8.0 and later, the
transform property does not affect Auto Layout. Auto layout calculates a view’s alignment rectangle based on its untransformed frame.