qwertydev qwertydev - 1 year ago 75
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


Answer Source

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)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download