Removing separator lines from bottom of Plain UITableview

Guides By 3 years ago

Plain style UITableViews show extra separator lines below the cells of your UITableView. This is default behaviour but it is sometimes not the behaviour you want.

To stop those extra separators from showing, set the tableFooterView of the UITableView to a UIView with a zero rect frame.

self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];