UIView 设置边框颜色 和 UILabel 的设置

    view3.layer.borderWidth = 1;spa

    [view3.layer setBorderColor:[UIColor colorWithWhite:214/255.0f alpha:1].CGColor];3d


    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(50, 20, 210, 44)];orm

    [label setText:@"用户登录"];it

    [label setFont:[UIFont systemFontOfSize:17.0]];margin

    [label setTextAlignment:NSTextAlignmentCenter];top

相关文章
相关标签/搜索