围绕底边中点旋转
UIView本身是支持旋转的,可以用UIView.transform属性实现旋转。
The origin of the transform is the value of the center property, or the layer’s anchorPoint property if it was changed.
这个旋转默认是围绕这UIView.center或者UIView.layer.anchorPoint旋转的。似乎UIView.layer.anchorPoint属性给了我们一个能实现围绕任意点旋转的可能,