title: changing the text attributes of nav bar
body: <p>i want to change the appearance of the nav bar, and so far i was able to change the background image of the nav bars, and also with the color.</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:     (NSDictionary *)launchOptions {
  
  //set the bg image of all nav bars
  UIImage *navBackgroundImage = [UIImage imageNamed:@"navigationBackground.png"];
  [[UINavigationBar appearance] setBackgroundImage:navBackgroundImage forBarMetrics:UIBarMetricsDefault];
  
  return YES;
  
  //customizing the title text of the nav bars
  [[UINavigationBar appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys:
                                                         [UIColor colorWithRed:255.0/255.0 green:250.0/250.0 blue:240.0/240.0 alpha:1.0], UITextAttributeTextColor,
                                                         [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.8],UITextAttributeTextShadowColor,
                                                         [NSValue valueWithUIOffset:UIOffsetMake(0, 1)],
                                                         UITextAttributeTextShadowOffset,
                                                         [UIFont fontWithName:@"Heiti TC" size:21.0], UITextAttributeFont, nil]];
  
  }
  </code></pre>
  
  <p>this is the code i used to achieve changing the nav bar bg image and the color. if you look into the 2nd UINavigationBar appearance statement, i try to set the font of the nav bar with<br>
      <code>[UIFont fontWithName:@"Heiti TC" size:21.0]</code></p>
  
  <p>but it wont change the font. btw i run this with iphone 6.1 simulator on xcode 4.6.2. im am sure that the font name is "Heiti TC".</p>