Is it typically bad programming practice in iOS to have a nested view controller\'s view inside UIViewController\'s view? Say for instance I wanted to have some kind of inte
Here is my Swift 3 solution based on Swift Developers On FB's answer
let childViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "ChildPageViewController"),
self.addChildViewController(childViewController)
self.view.addSubview(childViewController.view)
childViewController.didMove(toParentViewController: self)