您的位置:首页 > 其它

view 边框颜色 tag值设定等

2016-04-22 11:51 162 查看
//添加边框和提示

CGRect frameRect = CGRectMake(20, 90, self.window.frame.size.width-40, self.window.frame.size.height-180);

UIView *frameView = [[UIView alloc] initWithFrame:frameRect] ;

frameView.layer.borderWidth = 1;

frameView.layer.borderColor = [[UIColor whiteColor] CGColor];

//

cell.layer.cornerRadius = 12;

cell.layer.masksToBounds = YES;

cell.layer.borderWidth = 1;

cell.layer.borderColor = [[UIColor orangeColor] CGColor];

UIImageView *imagView = [[UIImageView alloc]init];

imagView.image = [UIImage imageNamed:@"xuanZhognImage"];

cell.backgroundView = imagView;

UILabel * lab = (UILabel *)[self.view viewWithTag:4022+indexPath.item];

lab.textColor = [UIColor orangeColor];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: