CALayer的anchorPoint属性与transform属性
When you apply a transform to a layer, the transform uses the anchor point to determine where to rotate, scale, and so on.
With the examples so far, the scale transform causes the layer to appear to shrink into the middle of the window. This is because the default position of the anchor point of any layer is the center.