标签:drawrect和layoutsubviews
drawRect和layoutSubviews的区别
两个方法都是异步执行的,layoutSubviews方便数据计算,drawRect方便视图重绘。 layoutSubviews对subviews重新布局layoutSubviews方法调用先于drawRect
原文地址:http://9178487.blog.51cto.com/9168487/1565536