title: How can I customize the text color of the back button in a UINavigationController header view?
body: <p>I'm using a custom <code>tintColor</code> on my <code>UINavigationController</code>'s navigation bar, and because the color is so light I need to use dark colored text. It's relatively easy to swap out the title view, and the custom buttons I've added on the right hand side, but I can't seem to get a custom view to stick on the back button. This is what I'm trying right now:</p>
  <pre><code>UILabel *backLabel = [[UILabel alloc] initWithFrame:CGRectZero];
  
  [backLabel setFont:[UIFont fontWithName:[[UIFont fontNamesForFamilyName:@&quot;Arial Rounded MT Bold&quot;] objectAtIndex:0] size:24.0]];
  [backLabel setTextColor:[UIColor blackColor]];
  [backLabel setShadowColor:[UIColor clearColor]];
  
  [backLabel setText:[aCategory displayName]];
  [backLabel sizeToFit];
  [backLabel setBackgroundColor:[UIColor clearColor]];
  
  UIBarButtonItem *temporaryBarButtonItem=[[UIBarButtonItem alloc] initWithCustomView:backLabel];
  
  temporaryBarButtonItem.customView = backLabel;
  [backLabel release];
  
  self.navigationItem.backBarButtonItem = temporaryBarButtonItem;
  [temporaryBarButtonItem release];]
  </code></pre>
  <p>The custom view doesn't stick though, and I don't see any obviously easy way to get at the actual text inside the default button and start changing its style.</p>