zoukankan      html  css  js  c++  java
  • UITableView和UITableViewCell的几种样式

    UITableView和UITableViewCell的几种样式

       转至  http://blog.csdn.net/crazyzhang1990/article/details/12503163

    一、系统自己的UITableView样式有两种:

    1.UITableViewStylePlain:

             

    Plain样式的是方形的,充满你给的view.frame坐标。

    2.UITableViewStyleGrouped:

            

    Grouped样式主要是以圆角形显示。跟iphone自带的通讯录编辑页面类似。

    二、系统自己的UITableViewCell样式有四种:

    1.UITableViewCellStyleDefault:

            

    Default样式:左边一个显示图片的imageView,一个标题textLabel,没有detailTextLabel。

    2.UITableViewCellStyleSubtitle:

             

    Subtitle样式:左边一个显示图片的imageView,上边一个主标题textLabel,一个副标题detailTextLabel。主标题字体大且加黑,副标题字体小在主标题下边。

    3.UITableViewCellStyleValue1:

             

    Value1样式:左边一个显示图片的imageView,左边一个主标题textLabel,右边一个副标题detailTextLabel,主标题字体比较黑。

    4.UITableViewCellStyleValue2:

             

    Value2样式:左边一个主标题textLabel字体偏小,挨着右边一个副标题detailTextLabel,字体大且加黑。

  • 相关阅读:
    hibernate关联关系(多对多)
    hibernate关联关系(一对多)
    hibernate主键生成策略
    hibernate01
    利用Struts2拦截器完成文件上传功能
    layui的CRUD案列
    Struts2的CRUD
    Git中.gitignore文件不起作用
    在 Visual Studio 中使用 Q# 进行量子编程
    Elasticsearch 搜索
  • 原文地址:https://www.cnblogs.com/developer-ios/p/4915934.html
Copyright © 2011-2022 走看看