navigationviewcontroller is not loading?

+1 vote
34 views
asked May 25 by admin (8,115 points)

Hi

   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 by anonymous
Hi  

    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 by codeg (2,600 points)
Solved my issues
...