首页 > 其他 > 详细

view 边框颜色 tag值设定等

时间:2016-04-22 13:14:21      阅读:280      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!