zoukankan      html  css  js  c++  java
  • iOS cell添加点击时改变字体的颜色及背景

            cell.selectedBackgroundView.backgroundColor = [UIColor whiteColor];//选中后变换,色彩的变换
            cell.textLabel.highlightedTextColor = [UIColor colorWithRed:0/255.0 green:180/255.0 blue:140/255.0 alpha:1];//选中label颜色的变化
            cell.textLabel.textColor = [UIColor whiteColor];
    
            cell.backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"fenlei-weidaidi"]];
            cell.selectedBackgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"fenlei-daidi"]];//选中后变换,图片的变换
  • 相关阅读:
    模块的初始
    requests模块的高级用法
    爬虫数据解析方式
    2th
    0
    ..
    .

    1th-绪论
    Py2x & Py3x版本的区别
  • 原文地址:https://www.cnblogs.com/anyezhuixing/p/4549643.html
Copyright © 2011-2022 走看看