zoukankan      html  css  js  c++  java
  • 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];

  • 相关阅读:
    阿里云配置mysql远程连接
    [转载]Lodop用户应对谷歌浏览器停用Plugin技术的处理办法
    利用lodop打印控件轻松实现批量打印
    ThinkPHP 中M方法和D方法的具体区别
    Codeforces
    POJ
    HDU
    POJ
    POJ
    HDU
  • 原文地址:https://www.cnblogs.com/gzz2016/p/5420718.html
Copyright © 2011-2022 走看看