摘要: 锚点: anchorPoint 以锚点为中心 执行动画 (与 渔夫固定船的点时一致的) anchorPoint 默认是 0.5,0.5 (注意: 锚点 是一个比例) anchorPoint 在左上角的时候 为 0,0 anchorPoint 在右上角的时候 为 1,0 anchorPo... 阅读全文
posted @ 2015-10-06 16:11 8023博客 阅读(270) 评论(1) 推荐(1) 编辑
摘要: 一、使用"公式":1、frame: 原点以及自身的位置来确定自身的位置2、autoLayout: 根据参照视图的位置 来定义自己的位置3、autoLayout: 相对布局 约束视图和视图之间的关系 来分配 屏幕上的位置4、使用VFL(Visual Format Language 视觉格式化语言)通过... 阅读全文
posted @ 2015-10-06 15:27 8023博客 阅读(527) 评论(0) 推荐(1) 编辑