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

  • 相关阅读:
    低功耗蓝牙(BLE)——概念
    低功耗蓝牙(BLE)——概述
    190923——我目前的居所
    190922——真随笔
    行业——5G
    190901——无题
    190831——关于坚持
    190828-对话体
    190827——两种人
    190826-快乐
  • 原文地址:https://www.cnblogs.com/gzz2016/p/5420718.html
Copyright © 2011-2022 走看看