标签:
//按钮边框宽度
[_numberButton.layer setBorderColor:[UIColor colorWithRed:28/255.0 green:162/255.0 blue:66/255.0 alpha:1].CGColor];
[_numberButton.layer setBorderWidth:1];
[_numberButton.layer setMasksToBounds:YES];
_numberButton.backgroundColor = [UIColor whiteColor];
//设置圆角
_numberButton.layer.cornerRadius = 5;
_numberButton.clipsToBounds = YES;
_numberButton.titleLabel.font = [UIFont systemFontOfSize:13];
标签:
原文地址:http://www.cnblogs.com/block123/p/4947497.html