码迷,mamicode.com
首页 > 其他好文 > 详细

view 边框颜色 tag值设定等

时间:2016-04-22 13:17:05      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:

//添加边框和提示

        CGRect frameRect = CGRectMake(2090self.window.frame.size.width-40self.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];

view 边框颜色 tag值设定等

标签:

原文地址:http://www.cnblogs.com/gzz2016/p/5420718.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!