您的位置:首页 > 其它

button设置

2015-08-11 17:30 253 查看
XWColorModel *rgb = [UIColorRGBWithHexString:@"3f8be6"withAlpha:1];

[checkBoxButtonsetBackgroundImage:[UIImageimageNamed:@"actionIconDownloadSelected"]

forState:UIControlStateNormal];

[checkBoxButtonsetBackgroundImage:[UIImageimageNamed:@"actionIconDownloadedSelected"]

forState:UIControlStateSelected];

[checkBoxButton.layersetMasksToBounds:YES];

[checkBoxButton.layersetCornerRadius:3.0];//设置矩圆角半径

[checkBoxButton.layersetBorderWidth:1.0];
//边框宽度

self.outOfMoneyButton.layer.borderColor
= [UIColor
colorWithHexString:@"#3f8be6"
withAlpha:1].CGColor;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: