I'm trying to achieve a similar keyboard interaction that Messages has in iOS 7. I have a `UIView` which contains a `UITextView`, and when the user selects it to start typing, I want to make this `UIView` the `inputAccessoryView`. This would take care of the animation for me, as well as the new `UIScrollView` keyboard dismiss interaction in iOS 7. 

When the `UITextView` begins editing, I'm trying to set its `inputAccessoryView` to its parent `UIView` (which is already in the view hierarchy). The keyboard appears but not with an accessory view.

I've read some people are using a duo of `UITextField`s to make this work, but that seems like a bad way to achieve this.

Any suggestions?