To keep track of what Daniel said, according to the UIView Documentation :
The origin of the transformation is the value of the center property or the anchorPoint property of the layers, if this has changed. (Use the layer property to get the basic animation of the core layer.)
Therefore, if you set anchorPoint at the UIView level, transformations applied directly to the UIView will occur around this point.
source
share