setSeparatorStyle:UITableViewCellSeparatorStyleSingleLine on a
UITableView instance. The separator line should cover completely the width of table but instead it starts with some inset from the left. How can I have the separator line span the entire width of the table?
Best How To :
With this codes it will be ok :
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath:
cell.layoutMargins = UIEdgeInsetsZero;
cell.preservesSuperviewLayoutMargins = NO;
EDIT : Changed code lines according to this post : iOS 8 UITableView separator inset 0 not working