Button描边
2016-08-03 本文已影响0人
简书笔记存档
self.topView.layer.masksToBounds = YES;//设置可描边
self.layer.conerRadius = 10;//设置圆角
[self.topView.layer setBorderWidth:1];//设置描边宽度
self.topView.layer.borderColor = COLOR(230, 230, 230, 1).CGColor;//设置描边颜色
self.topView.layer.masksToBounds = YES;//设置可描边
self.layer.conerRadius = 10;//设置圆角
[self.topView.layer setBorderWidth:1];//设置描边宽度
self.topView.layer.borderColor = COLOR(230, 230, 230, 1).CGColor;//设置描边颜色