I dragged out a TVC from storyboard and put a table view as a subview of a main view, but when I run the app the navigation bar doesn’t show? What am I doing wrong?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to have a navigation controller added in your storyboard and connect it with TableView Controller .
UINavigation Controller works as a Stack on ViewControllers.
Check here for a tutorial :
Navigation controller Tutorial
Integrating with storyboard : Storyboard tutorial with Tableview and Navigation Controller
Then do this :
In the interface buildr select your tableview Controller and check the left hand side tick on enable navigation controller .
And , put this in viewDidLoad
self.navigationController.hidden = NO;