What I have understood from your question is you want your yellow view to have intrinsic content size i.e its size should depend on the size of label.For this follow these steps -
1 .Add following constraints to the yellow view
a.Center horizontally in container.
b.Center vertically in container.
Now to the image view add following constraints
a. Leading and Trailing space with respect to yellow view.
b. Top space with respect to yellow view and Bottom space with respect to label.
Now to the label add following constraints
a. Leading and trailing space with respect to yellow view.
b. Bottom space with respect to yellow view.
This will give you desired result.Now label have leading and trailing space pinned to the yellow view, so as label will grow, yellow view will automatically grow.
