Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • child viewcontroller doesnot have its own bar. So it does not change anything Commented Sep 19, 2015 at 22:16
  • Correct, the view controllers should share the navigation controller and therefore the navigation bar. However, the navigation controller automatically updates the navigation bar by reading the view controller's title property. This code is tested. Trust me, I know it works. Get rid of the lines where you are manually setting the nav bar title. Commented Sep 19, 2015 at 22:22
  • but it doesnt work for me all I see is "root view controller". maybe the problem is page viewer controller that take cares display of second table. Commented Sep 19, 2015 at 22:29
  • How are you displaying the child view controller? Are you creating it then pushing it onto the Navigation Controller stack? Commented Sep 19, 2015 at 22:34
  • I am new in ios development so I am not sure technically. But the root table controller is linked with page view controller, that handles the display of the second table as pages. Commented Sep 19, 2015 at 22:43