摘要: 1,UIView的setNeedsDisplay和setNeedsLayout方法首先两个方法都是异步执行的。而setNeedsDisplay会调用自动调用drawRect方法,这样可以拿到 UIGraphicsGetCurrentContext,就可以画画了。而setNeedsLayout会默认调... 阅读全文
posted @ 2015-06-04 10:49 罕见 阅读(112) 评论(0) 推荐(0) 编辑