navigationviewcontroller is not loading?

+1 vote
asked May 25, 2017 by admin (8,145 points)


   I am using the below piece of code to load the NavigationViewContollrt but its not loading the view?

        self.navigationController?.present(myViewController, animated: true, completion: {})

1 Answer

+1 vote
answered Jun 3, 2017 by anonymous

    I also faced the same issue In my case I deleted the NavigationView in the mainStory board.

After adding the UINavigationView in Main storyboard the issue was gone
commented Jun 12, 2017 by codeg (2,600 points)
Solved my issues