1.frame修改大小的时候,左上角的原点不动,向右下角拉伸放大
transform不能与frame同时使用
2.bounds修改大小的时候,中心点不动进行放大
bounds的x和y都为正值的时候是向左上角移动
frame的x和y都为负值的时候是向左上角方向移动
transform不能与frame同时使用
2.bounds修改大小的时候,中心点不动进行放大
bounds的x和y都为正值的时候是向左上角移动
frame的x和y都为负值的时候是向左上角方向移动