title: Adjusting navigationItem.titleView's frame?
body: <p>I noticed that  the titleView's position depends on the rightbarbutton title. How can I set the frame of the titleView to be in the center instead?</p>
  
  <p>I've tried setting titleView.frame, but to no avail.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>UIButton *titleLabel = [UIButton buttonWithType:UIButtonTypeCustom];
  [titleLabel setTitle:@"Right Eye" forState:UIControlStateNormal];
  [titleLabel setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
  [titleLabel setTitleColor:[UIColor blackColor] forState:UIControlStateHighlighted];
  titleLabel.frame = CGRectMake(100, 0, 180, 44);
  titleLabel.titleLabel.backgroundColor = [UIColor clearColor];
  titleLabel.titleLabel.font = [UIFont boldSystemFontOfSize:20.0];
  titleLabel.titleLabel.shadowColor = [UIColor colorWithWhite:0.0 alpha:0.3];
  //  titleLabel.titleLabel.textAlignment = UITextAlignmentCenter; (this doesn't work either)
  [titleLabel addTarget:self action:@selector(titleTap:) forControlEvents:UIControlEventTouchUpInside];
  self.navigationItem.titleView = titleLabel;
  self.navigationItem.titleView.frame = CGRectMake(100, 0, 180, 44); //(this doesn't work either)
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/mpG0c.png" alt="alt text"></p>