UItableView 使用心得

来源:互联网 发布:软件开发质量管理体系 编辑:程序博客网 时间:2024/05/17 12:54

个人的 UITableView 使用心得,不定时更新:

cell 后缀:
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
cell 选中样式:
cell.selectionStyle = UITableViewCellSelectionStyleNone;
cell 右侧样式:
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
去下划线(写在创建 UITableView 的时候):
<span style="font-size:14px;">tableView.separatorStyle = UITableViewCellSeparatorStyleNone;</span>

0 0