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;


  • 相关阅读:
    vue的动画组件(transition)
    vue组件的那些事($children,$refs,$parent)的使用
    vue怎么自定义指令??
    组件之间的通信:父子组件之间的通讯(子组件-改变父组件的值)
    vue的路由初识01
    总结css的使用技巧
    crontab 定时任务
    Linux crontab 命令详解
    python-面向对象
    /var/spool/postfix/maildrop 占用inode索引及磁盘空间解决办法
  • 原文地址:https://www.cnblogs.com/xingchen/p/2099753.html
Copyright © 2011-2022 走看看