title: titleTextAttributes UIAppearance font in iOS 7
body: <p>I am using UIAppearance to apply fonts to UINavigationBar and UIBarButtonItem and I am having problems. I ran this code:</p>
  
  <pre><code>[[UIBarButtonItem appearanceWhenContainedIn:[UIToolbar class], nil] 
  setTitleTextAttributes:
  @{NSFontAttributeName : [UIFont fontWithName:@"My_Font" size:17.0]} 
  forState:UIControlStateNormal];
  
  NSLog(@"%@", [[UIBarButtonItem appearanceWhenContainedIn:
  [UIToolbar class], nil] titleTextAttributesForState:UIControlStateNormal]);
  </code></pre>
  
  <p>and the result of that log on iOS 7 is: </p>
  
  <pre><code>(null)
  </code></pre>
  
  <p>Where the result in iOS 6 is:</p>
  
  <pre><code>{
      NSFont = "&lt;UICFFont: 0x1d897a80&gt; font-family: \"My_Font\"; font-weight: normal; font-style: normal; font-size: 17px";
  }
  </code></pre>
  
  <p>I can't find anything in the iOS 7 docs that would indicate that this shouldn't work, has anyone else had this problem?</p>
  
  <p><em><strong>Edit 1</em></strong></p>
  
  <p>I actually have gotten this to work with <code>[UINavigationBar appearance]</code> the problem was that I was setting the point size to 0 in order to have the font be set to the default navbar/barButtonItem size as described in the <a href="https://developer.apple.com/library/ios/documentation/uikit/reference/NSString_UIKit_Additions/Reference/Reference.html#//apple_ref/doc/uid/TP40006893">NSString UIKit Additions Reference</a> but this apparently no longer works in iOS 7. Instead, setting the point size to 0 will return the system font.</p>
  
  <p>I am still unable to set <code>titleTextAttributes</code> to </p>
  
  <p><code>[UIBarButtonItem appearanceWhenContaintedIn:[UIToolbar class], nil]]</code></p>