title: UIPopOver, UITextView and automatic resizing
body: <p>I've got an app where I allow the user to add events to a list. The method I use to do this is via a form that I show the user in a <code>UIPopOver</code>.</p>
  
  <p>The form has the following components (in this order, top to bottom):</p>
  
  <ol>
  <li>Event Description Label (UILabel)</li>
  <li>Event Description (UITextField)</li>
  <li>Event Details Label (UILabel)</li>
  <li>Event Details (UITextView)</li>
  <li>Event Time Label (UILabel)</li>
  <li>Event Time (UIDatePicker)</li>
  <li>Save Event (Custom Button)</li>
  <li>Cancel (Custom Button)</li>
  </ol>
  
  <p>I'd prefer not to show a screen shot since it's a sensitive app. :-)</p>
  
  <p>So........</p>
  
  <p>All is well when I first show the <code>UIPopOver</code>. Everything appears as I wish. The overall layout is about 650 pixels tall, which is just tall enough to take up pretty much the whole screen (vertically) when in landscape mode.</p>
  
  <ul>
  <li>When the user tries to interact with the `UIDatePicker`, everything goes swimmingly (well).</li>
  <li>When the user taps into the Event Description (`UITextField`) field, the keyboard appears and the `UIPopOver` shrinks so that basically the `UIDatePicker` and buttons are hidden. I consider this OK, since they re-appear when the keyboard is dismissed.
  </li>
  <li>The problem I am having is when the user tries to interact with the `UITextView`:</li>
  <ol>
  <li>When the view of the `UIPopOver` has its `backgroundColor` property set to `[UIColor whiteColor]`, the `UITextView` initially appears with a thin black border. I like this.</li>
  <li>When the user taps in the `UITextView` to begin editing, the `UIPopOver` resizes to accommodate the keyboard and, during the transition, the black border "shrinks up" and disappears. This is in spite of my shocks and struts being set so that all dimensions/directions are fixed and it is "glued" to the top-left.</li>
  <li>Following this, when the user dismisses the keyboard, the border sort of restores itself to its previous position, but it now adds a thick black border on the bottom that completely obscures the label placed between the `UITextView` and the `UIDatePicker`.</li>
  <li>When I change the background of the view of the `UIPopOver` to "`ScrollView` Textured Background Color", the border "disappearing trick" is at least less noticeable, but the black border at the bottom (following keyboard dismissal) is still present.</li>
  </ol>
  </ul>
  
  <p><b>Questions</b></p>
  
  <ol>
  <li>Has anyone encountered something like this before?</li>
  <li>Does anyone think it's just an IB error and that I need to re-build my XIB?</li>
  <li>Anybody got any other ideas? Googling for this issue came up fairly empty for me. If you think of better terms and find something, please let me know (gently).</li>
  </ol>