title: Keyboard hides on rotation
body: <p>I'm working on an iPad application. In one of it's views, i have a subview which appears and disappears on button tap event. The subview contains a <code>UITextView</code>. By default i make it the first responder so that the keyboard appears as soon as the view appears. The subview also disappears when <code>UIKeyboardWillHideNotification</code> is fired i.e. keyboard is hidden.</p>
  
  <p>Now, the problem is that as soon as the application is rotated, <code>UIKeyboardWillHideNotification</code> is fired by the system, which in turn make the subview disappear. I want the keyboard to remain on screen. </p>
  
  <p>What's going on, and how can i fix it!?</p>
  
  <p>Note: Both the view and subview have separate view controllers. UIKeyboardWillHideNotification is received in subview's view controller class.</p>