UITableView 的一些属性设置

xiaoxiao2021-02-28  8

1、不显示多余的行

tableview.separatorStyle = UITableViewCellSelectionStyleNone;2、不回弹 tableview.bounces = NO;3、表头表尾跟随 tableview = [[UITableView alloc]initWithFrame:CGRectMake(0, tab_y, view_w, view_h - tab_y) style:UITableViewStyleGrouped];

4、显示最右边的箭头

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

转载请注明原文地址: https://www.6miu.com/read-1900230.html

最新回复(0)