zoukankan      html  css  js  c++  java
  • UITableView专题

    该篇博客写的是和UITableView相关的知识点。

    2011-07-07 开始

    持续总结

    -------------------------------------------------------------------------------------------------------------------------------------------------------

    1:设置TableViewCell的高度

    //设置行的高度

    - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

    {

    return 160.0;

    }

     

    2:设置TableViewCell行右边的系统图标

    //下面的一样设置为他的图标为肩头

    cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

    //下面是可以使用的几个枚举的图表值

    typedef enum {

        UITableViewCellAccessoryNone,                   // don't show any accessory view

        UITableViewCellAccessoryDisclosureIndicator,    // regular chevron. doesn't track

        UITableViewCellAccessoryDetailDisclosureButton, // blue button w/ chevron. tracks

        UITableViewCellAccessoryCheckmark               // checkmark. doesn't track

    } UITableViewCellAccessoryType;


  • 相关阅读:
    C++开发人脸性别识别教程(12)——加入性别识别功能
    Java数组实现循环队列的两种方法
    开源 免费 java CMS
    Android必知必会-Stetho调试工具
    初中级DBA必需要学会的9个Linux网络命令,看看你有哪些还没用过
    fputs与fgets
    一个使用命令行编译Android项目的工具类
    SpringMVC @RequestBody接收Json对象字符串 demo
    spring 事件(Application Event)
    spring Aop的一个demo
  • 原文地址:https://www.cnblogs.com/xingchen/p/2099753.html
Copyright © 2011-2022 走看看