I don\'t know if this is the right key to search \"add UIViewController in subview\".
As what you can see in my image ,there are two ViewController, the main and the second
Open storyboards and select the view controller in which your Blue view is present, open Utilities search for ContainerView and drag it into your blue view, this will automatically adds an view controller that acts as child view for your view. You can resize your container view in size inspector.