黑马程序员技术交流社区

标题: 遇到的一个BUG [打印本页]

作者: 余丽丽    时间: 2015-8-11 01:04
标题: 遇到的一个BUG
遇到一个BUG,弄了很久,最后在官方文件看到这样一句话
// animatable. do not use frame if view is transformed since it will not correctly reflect the actual location of the view. use bounds + center instead.
才发现transform之后不能再用frame,否则会出现意想不到的结局




欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) 黑马程序员IT技术论坛 X3.2