title: IOS Navigation Bar always empty
body: <p>I am new to IOS and Objective C development. I was trying to load JSON from web and parse it into a multilevel menu kind of thing. On clicking next button, user will be directed to another screen.
  I currently have basic app in which data is loaded into class RootViewController : UITableViewController.
  I want to show Navigation Bar on top of it, Which will contain next screen button.
  I have tried lot of options but in everyone nothing was displayed in navigation Bar ( Navigation bar itself was there, but without title or any button). I have basic XIB in which there is only tableview under Objects.</p>
  
  <p>Any pointers how can i do it.</p>
  
  <p>Sample Code ( RootViewController.m) :-</p>
  
  <pre><code>(void)viewDidLoad
  
  {
  
    DBGS;
  
    [super viewDidLoad];
  
  //This Failed   self.navigationController.navigationItem.rightBarButtonItem=self.navigationController.editButtonItem; 
  self.navigationController.navigationItem.title=@"My Title";
  
  
  //This Also Failed
  
  UIBarButtonItem *_backButton = [[UIBarButtonItem alloc] initWithTitle:@"left" style:UIBarButtonItemStyleDone target:nil action:nil];
  self.navigationController.navigationItem.backBarButtonItem = _backButton;
  self.navigationController.navigationItem.title=@"My Title";
  [_backButton release];
  
  //Remaining Code
  
  NSString *filePath = [[NSBundle mainBundle] pathForResource:@"contents" ofType:@"json"];
  
  self.model = [[TreeListModel alloc] initWithJSONFilePath:filePath];
  
  }
  </code></pre>
  
  <p>Header File (RootViewController.h)</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  #import "TreeListModel.h"
  
  @interface RootViewController : UITableViewController {
  
      UINavigationController *navigationController;
  }
  
  @property (nonatomic, retain) TreeListModel *model;
  @property (strong, nonatomic) UINavigationController *navigationController;
  @property (strong, nonatomic) UIWindow *window;
  
  @end
  </code></pre>
  
  <p>I am unable to post app image. But in o/p screen tableview is there(populated correctly) + A blue NavBar(No title or Button).</p>
  
  <p>Thanks</p>