_match.textColor = [UIColor redColor];
_match.layer.borderColor = [[UIColor redColor] CGColor];
_match.layer.borderWidth = 1.0;
_match.layer.masksToBounds = YES;
_match.layer.cornerRadius = 3;
_match.textColor = [UIColor redColor];
_match.layer.borderColor = [[UIColor redColor] CGColor];
_match.layer.borderWidth = 1.0;
_match.layer.masksToBounds = YES;
_match.layer.cornerRadius = 3;
转载于:https://www.cnblogs.com/xzguo/p/4909753.html