title: UIToolbar height on device rotation
body: <p>From the iOS Human Interface Guidelines, <a href="http://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/UIElementGuidelines/UIElementGuidelines.html#//apple_ref/doc/uid/TP40006556-CH13-SW10" rel="noreferrer">iOS UI Element Usage Guidelines</a></p>
  
  <blockquote>
    <p><strong>On iPhone, take into account the
    automatic change in toolbar height
    that occurs on device rotation</strong>. In
    particular, make sure your custom
    toolbar icons fit well in the thinner
    bar that appears in landscape
    orientation. Don’t specify the height
    of a toolbar programmatically.</p>
  </blockquote>
  
  <p>I can see the height changing from 44 points to 32 points in <em>Mail</em>, <em>Twitter for iPhone</em> and <em>Dropbox</em> for example, but when I add a toolbar (with Interface Builder) and have my UIViewController subclass to automatically rotate (<code>shouldAutorotateToInterfaceOrientation:</code> returns YES), the toolbar does not automatically change its height on device rotation.</p>
  
  <p>The <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UIToolbar_Class/Reference/Reference.html" rel="noreferrer">UIToolbar Class Reference</a> does not mention this automatic change of height, so am I supposed to change it programmatically even though the HIG says <em>Don’t specify the height of a toolbar programmatically</em>?</p>