I have a UIViewController. In this UIViewcontroller ist a container. In this container is a Tab Bar Controller. One of the Tabs is a PageViewController embed in a Navigation Controller. One of the Pages is UITableViewController.
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewControllerWithIdentifier("article")
self.presentViewController(vc, animated: true, completion: nil)
Presenting view controllers on detached view controllers is discouraged <Test.AllArticlesTableViewController: 0x7f812bd227d0>.
Presenting a view controller will take up the full screen by default. I believe what you're looking for is to push the view controller onto the navigation stack. Use
self.navigationController.pushViewController(vc, animated: true)
"Pushing a view controller causes its view to be embedded in the navigation interface."
Please refer to the Apple docs for more information.