- (void)setViewLayer{
//边框
View.layer.borderColor = [UIColor colorWithRed:205/255.0 green:211/255.0 blue:213/255.0 alpha:1.0].CGColor;//#cdd3d5
View.layer.borderWidth = 1.0f;
// 设置登录按钮圆角半径
View.layer.masksToBounds = YES;
View.layer.cornerRadius = 2;
}
iOS开发之设置UIView边框颜色及边线厚度以及圆角及弧度
最新推荐文章于 2021-11-01 17:43:58 发布