view 边框颜色 tag值设定等

//添加边框和提示

        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];

posted @ 2016-04-22 11:51  zhen_zhen  阅读(356)  评论(0编辑  收藏  举报