I’m customizing a UITableView. I want to hide the line separating on the last cell … can i do this?
I know I can do tableView.separatorStyle = UITableViewCellStyle.None but that would affect all the cells of the tableView. I want it to only affect my last cell.
in
viewDidLoad, add this line:and in
cellForRowAtIndexPath:for iOS lower versions
for iOS 7 upper versions (including iOS 8)