On iPhone 6s, when I set cell separator line left inset to 14, is show 15, I think that is because it set preservesSuperviewLayoutMargins = true
by default.
But from apple doc: "The side margins vary depending on how and where the controller is presented, but can be either 16 or 20 points(depending on the device). You cannot change these margins."
When I add a view to the side of root view by auto layout, and set preservesSuperviewLayoutMargins = true
, the distance from the edge of root view to the view I added is 16 on iPhone 6s, so it is not aligned to the left edge of the table view. How can UITableViewCell use preservesSuperviewLayoutMargins = true
, and the side margins is 15, not 16?