Keeping the keyboard from obscuring widgets in a form
<p>In an iPhone app, how do I keep the software keyboard from obscuring buttons, or UITextView fields in a View?  </p>

<p>I've got the following layout:</p>

<pre><code>View -\
     UITextView
     UIButton
</code></pre>

<p>... but, the keyboard obscures the button at the bottom when I'm typing in the UITextView. I tried using the following:</p>

<pre><code>View -\
     UIScrollView -\
         UITextView
         UIButton
</code></pre>

<p>... but, the window does not scroll as expected, so the user has no way of clicking the button.</p>

<p>How is this normally handled?</p>

<p>Note:  I do not want to scroll down automatically to make the button visible.  I just want the user to be able to scroll down when they are done typing.</p>
