I have a question about UITableView... I have a UITableViewController and I created a custom cell. When I visualize the tableView I see a little white space before the separ
Alternatively, you can also edit this in interface builder (IB):
This has the same effect as @Ashok's answer, but doesn't require writing any code.
Update Works on iOS 7 and 8
Update Works on iOS 9
For those of you who want to make the retain the UIEdgeInsetSettings in Swift and are not using Storyboards:
Before: (Default Behavior)
Add the following code:
tableView.separatorInset.right = tableView.separatorInset.left