I have a UIViewController that has 4 subviews - left view, right view, bottom view and the center view. The center view actually embeds another view controller (AVPlayerViewController). On the press of a button, I wish to change the left view and bottom view and resize the center view. The center view will also have a different leading constraint this time as the left view to which it was hooked earlier is now not there anymore.
What is the easiest way to do this kind of thing using Autolayout and storyboards? Is there a way in Storyboards to define two designs of same UIViewController and alter states, all with animation?