UIViewController takes up entire screen in Interface Builder
- by Sheehan Alam
I have a NIB with a UIView that contains some UILabels, UIButtons etc. and a UIViewController that is loading a detached NIB.
I want the UIViewController to be positioned below my UIView, but whenever I add it in Interface Builder it takes up the whole screen, and my UIView becomes part of the UIViewController.
How can I make sure UIViewController appears below the UIView?