修改anchorPoint ,为什么UIView 的frame 会变?
答:一旦自己修改了anchorPoint 或者position, frame会根据它们重新计算自己的origin位置。
详细请看转载的这篇文章,讲得不错。
http://wonderffee.github.io/blog/2013/10/13/understand-anchorpoint-and-position/
修改anchorPoint ,为什么UIView 的frame 会变?
答:一旦自己修改了anchorPoint 或者position, frame会根据它们重新计算自己的origin位置。
详细请看转载的这篇文章,讲得不错。
http://wonderffee.github.io/blog/2013/10/13/understand-anchorpoint-and-position/