inputAccessoryView not hide the view when -resignFirstResponder?

Posted by Sam Jarman on Stack Overflow See other posts from Stack Overflow or by Sam Jarman
Published on 2011-01-06T08:13:25Z Indexed on 2012/12/03 17:04 UTC
Read the original article Hit count: 195

Filed under:

I have attached a toolbar with a UITextField and UIButton to the keyboard when it becomes the first responder via the user taping inside the textfield

 textField.inputAccessoryView = theToolbar;

Problem is, the toolbar disappears when the keyboard is dismissed, thus preventing any further input.

Any ideas on how to make the toolbar go back to the bottom of the screen rather than off it completely?

I'm thinking a delegate method might help but Im really not too sure. It seems once the inputAccessoryView always the inputAccessoryView :(

Cheers

© Stack Overflow or respective owner

Related posts about iphone-sdk-4.0