title: putting labels, buttons on the navigation bar iOS
body: <p>I have created custom navigation controller,</p>
  
  <p>I want to be added, a date at the left, a back button on the right and the title next to back button.</p>
  
  <p>I tried to add one label, but it does not work. Please show me a way</p>
  
  <pre><code> UINavigationBar *naviBarObj = [[UINavigationBar alloc] initWithFrame:CGRectMake(0, 0, 1024, 66)];
  
  
  UILabel *navLabel = [[UILabel alloc] initWithFrame:CGRectMake(20,8,280,30)];
  navLabel.text = @"My Text";
  
  [self.navigationController.navigationBar addSubview:navLabel];
  
  [self.view addSubview:naviBarObj];
  </code></pre>