swift 关于tableview

1.补全tableview的分割线

 1 professTabView.separatorInset = UIEdgeInsets.zero 

2.让tableviewcell的右侧出现箭头

1 cell!.accessoryType = .disclosureIndicator

3.设置cell不能点击

 1 cell?.selectionStyle = .none 

4.去除没有填入数据的cell

 1 self.tableFooterView = UIView(frame: CGRect.zero) 

posted @ 2019-12-06 13:03  僧侣行书  阅读(459)  评论(0编辑  收藏  举报