My problem is related to the use of autolayout (the famous) ;)
I would like to manage 2 situations of subviews in the same view controller so that I can go from one situation to another (and reciprocally).
Let me introduce the problem with the following diagram :
The problem is that I can't figure how to express the autolayout constraints in Interface Builder so that I can easily switch from one situation to another. To be more precise the subviews VIEW_B1 and VIEW_B2 are differents subviews with different height.
I already try to hide the subview I don't want to see (either VIEW_B1 or VIEW_B2) but in this case the VIEW_C will remains at its Y position. What I'd like it's VIEW_C to be glue to the VIEW_B* (the one that is not hidden).