I'm trying to center a view inside a UIScrollView using the interface builder only. With labels seems to be working well.
But when I try to do the same with a UIView, I'm having constraints conflicts.
The conflicts make sense, but if I delete the width/height constraints the UIView extends to the entire SuperView, and if I delete the top/lead/trail/bottom constraints, the UIView correctly centers itself, but I get an ambiguous width/height warning.
My question would be, How can I get the UIView centered the same as the UILabel?.