tableviewcell 点击 设置

table?.separatorInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) //设置cell 下边线 位置

  table?.separatorStyle = .none //设置cell 下边线类型

 

cell.selectionStyle = .none //取消点击变色

 cell.accessoryType = .disclosureIndicator //显示最右边的箭头

tableView.deselectRow(at: indexPath, animated: false)

//取消选中状态

posted @ 2016-10-12 15:54  zuidap  阅读(235)  评论(0编辑  收藏  举报