I am relatively new to swift and iOS and can\'t find an answer or any help for my problem that works.
I want to create a navigation controller view when I click on a
var objVC: UIViewController? = storyboard.instantiateViewController(withIdentifier: "ViewController") var aObjNavi = UINavigationController(rootViewController: objVC)
Now, instead of using view controller object use navigation controller object.