I've placed a UIImageView within a UIView within a storyboard and sized it so that the UIImageView is the same size as its parent View.
However if I add constraints I am wondering why interface builder puts forward values of -16 for the horizontal spacing:
I don't understand why the horizontal spacing values are not 0 if the UIImageView is exactly the same width as the parent UIView.
If I add 4 constraints of 0 then IB gives an error:
Why is IB expecting the UIImageView to have a width of 288 when within the storyboard scene it is the same width as the parent UIView which itself has a width of 320.
I obviously have some fundamental misunderstanding of constraints but this seems totally unintuitive - The UIView has a width of 320 in the storyboard, the UIImageView has a width of 320 in the storyboard. Why is IB expecting a width of 288 and where and why are these -16 values coming from?