2012年12月7日
摘要: self.leftPanelView.layer.cornerRadius =10;self.leftPanelView.clipsToBounds = YES;设置圆角的同时,也要设置 clipsToBounds = YES如果要设置两个圆角,而不是四个角可以使用Create aCAShapeLayerSet itspathto be aCGPathRefbased onview.boundsbut with only two rounded corners (probably by using+[UIBezierPath bezierPathWithRoundedRect:byRoundi 阅读全文
posted @ 2012-12-07 18:45 easonoutlook 阅读(1810) 评论(0) 推荐(0) 编辑