Default separatorInset and layoutMargins for UITableView and UITableViewCell should be zero

Originator:yourstruly
Number:rdar://18538211 Date Originated:Oct 3, 2014
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8.0
Classification: Reproducible:Yes
 
Summary:
By default, without any image in the cell, UITableViewCell looks broken - there's an odd 10 or 15 point inset on the separator line. My QA people kick it back to me, because they rightly note that it looks broken. These properties should default to 0 and the line should span the width of the cell. You can choose to change it if an icon is applied, but I'll opt to override this anyway, as that's never the desired behavior.
The additional property in iOS 8 that I must override just to get these to the correct default look has increased effort and frustration for me.

Steps to Reproduce:
Create an instance of UITableView and populate cells with text, no images.

Expected Results:
The line should span the width of the cell by default. I shouldn't have to override two properties for the table AND each cell that I create.

Actual Results:
There's an inset for each cell separator, which looks ugly and broken.

Version:
iOS 7.0+

Notes:


Configuration:
iPad

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!