I am attempting to make a facebook/youtube-like slide-out menu for my app. My main view controller has two UIViews, one for the menu tableview and those, and one where I plan to contain whatever view the user has switched to.
I tried to make another UIViewController view made in interface builder as a subview contained in the UIView for content. I did that like this
[self.contentViewLayer addSubview:[[PersonViewController alloc]init].view];
with and without the .view at the end. It didn't work. Is it possible to have a UIViewController from storyboard contained in a UIView?