I'm adding a UITableView
to my UIViewController
using Interface Builder. Setting up leading, trailing, top and bottom constraints to my superview margins somehow makes the tableView 8 points wider than my viewController.
Here's the view hierarchy:
The constraints:
ViewController view during runtime using Xcode visual debugger:
TableView during runtime using Xcode visual debugger:
the 8 points seems suspicious and I picture it has something to do with margins, though I'm not able to figure it out.
Why is the tableView wider than my viewController?