qwertydev qwertydev - 5 months ago 7x
Swift Question

Present a UIViewcontroller with navigation?

I am new to programming. I just want to know is it possible to push further UIViewcontrollers on a presented



Yes actually you can present a UIViewcontroller with navigationController. All you need to do is to give reference to Your navigation controller while presenting controller.

 let navigationController =     UINavigationController(rootViewController: "controller to present")
 self.navigationController?.presentViewController(navigationController, animated: true, completion: nil)