iOS7及以上如何实现tableView最后一行分隔符不显示

tableView.separatorStyle = UITableViewCellSeparatorStyle.SingleLine
tableView.tableFooterView = UIView(frame: CGRect(x: 0, y: 0, width: 10, height: 1))

可以参考这个帖子:http://www.cocoachina.com/bbs/read.php?tid-253992.html

Leave a Reply

Your email address will not be published. Required fields are marked *