title: UITableView with Footerview ( emdedded text view) issues
body: <p>I am building this simple example where there is a UITableView and a footerview associated with the uitableview. To avoid overlapping the keyboard I added the keyboard show an hide notifications and it works fine...  Initially when the app load the uitextview in the footerview is placed correctly at the bottom of the UITableView.. But once type in some text and dismiss the keyboard the footerview vanishes and goes far below the viewable region. Any idea why this would happen?</p>
  
  <p>On application load</p>
  
  <p><img src="https://i.stack.imgur.com/JeoqD.png" alt="enter image description here"></p>
  
  <p>On editing</p>
  
  <p><img src="https://i.stack.imgur.com/rB2ii.png" alt="enter image description here"></p>
  
  <p>After the keyboard is dismissed</p>
  
  <p><img src="https://i.stack.imgur.com/6ArBH.png" alt="enter image description here"></p>
  
  <p>At this point the uitextfield vanishes and is hidden below the tab bar.  Here is the code for keyboard show and dismiss events.</p>
  
  <pre><code>func keyBoardWillShow(notification: NSNotification) {
  
      println("Keyboard will show notification")
      var info:NSDictionary = notification.userInfo!
      var keyboardSize = (info[UIKeyboardFrameBeginUserInfoKey] as NSValue).CGRectValue()
  
      var keyboardHeight:CGFloat = keyboardSize.height
  
      var animationDuration:CGFloat = info[UIKeyboardAnimationDurationUserInfoKey] as CGFloat
  
      var contentInsets: UIEdgeInsets = UIEdgeInsetsMake(0.0, 0.0, (keyboardSize.height), 0.0);
      self.tableView.contentInset = contentInsets;
      self.tableView.scrollIndicatorInsets = contentInsets;
  
  }
  
  func keyBoardWillHide(notification: NSNotification) {
  
      self.tableView.contentInset = UIEdgeInsetsZero
      self.tableView.scrollIndicatorInsets = UIEdgeInsetsZero
  
  }
  </code></pre>