关于UIButton的一些用法

一些常见的属性的方法

    UIButton * getVerificationCodeBtn = (UIButton *)[cell.contentView viewWithTag:102];
    getVerificationCodeBtn.cornerRadius = 15;//圆角
    getVerificationCodeBtn.borderWidth = 1;//边框宽度
    getVerificationCodeBtn.borderColor = RGBColor(246, 185, 55);//边框颜色
    [getVerificationCodeBtn addTarget:self action:@selector(buttonBack:)];

 

posted on 2016-03-11 21:03  菜菜的菜菜  阅读(149)  评论(0编辑  收藏  举报

导航