title: center custom title in UINavigationBar?
body: <p>I have a custom UINavigationBar title and a custom back button. 
  My problem is that the title is not centered on the iPhone.
  It is as if my back button is pushing the title over to the right. Any Idea how I can center it? </p>
  
  <pre><code>int height = self.navigationController.navigationBar.frame.size.height;
  int width = self.navigationController.navigationBar.frame.size.width;
  
  
  UILabel *navLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, width + 300, 20)];
  navLabel.backgroundColor = [UIColor whiteColor];
  navLabel.textColor = [UIColor redColor];
  navLabel.font = [UIFont fontWithName:@"Helvetica" size:30];
  navLabel.textAlignment = UITextAlignmentCenter;
  self.navigationItem.titleView = navLabel;
  [navLabel release];
  ((UILabel *)self.navigationItem.titleView).text = self.title;
  </code></pre>
  
  <p>Thanks!</p>
  
  <p><em>edit</em> I removed superfluous code and added this picture: </p>
  
  <p><img src="https://i.stack.imgur.com/ozcOh.jpg" alt="Picture of title off ceter"></p>
  
  <p>Notice how the title is pushed over to accomodate the button....</p>