关于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:)];
原文地址:https://www.cnblogs.com/nqs674/p/5267235.html