delete lines between UITableViewCells in UITableView
Swift 3:
tableView.separatorStyle = UITableViewCellSeparatorStyle.none
Within InterfaceBuilder you can set the Separator
property to None
or do it programmatically by setting the property separatorStyle
of your table view to UITableViewCellSeparatorStyleNone
.
Using Objective-C, we have:
[self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
for Swift 3:
self.tableView.separatorStyle = .none
for Swift 2:
self.tableView.separatorStyle = UITableViewCellSeparatorStyle.None
OR:
if you are using the InterfaceBuilder, you can set the tableView's Separator property to None