I am using UITableView with custom cell. It is working fine but problem is when there is only one or two cell in UITableView. It is giving the separator for the e
Another solution:
UIView *v = [[UIView alloc] initWithFrame:CGRectZero]; v.backgroundColor = [UIColor clearColor]; [self.tableView setTableFooterView:v];
This works too
self.tableView.tableFooterView = [UIView new];