表视图的一般使用.pptx

表视图的一般使用北京电子科技职业学院 表视图的样式1 表视图的样式UITableView 有以下两种样式(UITableViewStyle):Plain(普通样式)和Grouped(分组样式)。表视图分割线(Separator),有以下三种样式(UITableViewCellSeparatorStyle):None(无分割线)、SingleLine(单线条)和SingleLineEtched(带浮雕效果的线条) 表视图的样式表视图单元格(Cell),有以下四种显示样式(UITableViewCellStyle):Default(左侧显示 textLabel,不显示 detailTextLabel,最左边可选显示 imageView)Value1(左侧显示 textLabel,右侧显示 detailTextLabel,最左边可选显示 imageView)Value2(左侧依次显示 textLabel、detailTextLabel,最左边可选显示 imageView)Subtitle(左侧上方显示 textLabel,左侧下方显示 detailTextLabel,最左边可选显示 imageView) 表视图的样式Cell 有以下四种选中样式(UITableViewCellSelectionStyle):None、Blue、Gray和Default。附属图形(Accessory),有以

文档评论(0)

1亿VIP精品文档

相关文档