Question

I'm searching for a good method to display a keyboard with a done button to allow it to dismiss when the user have finished modifying a UITextView. The UITextView may accept return keys so I can't use the keyboard button to dismiss it.

It would be also really great if this keyboard was modal, or if a click anywhere on another control than the UITextView would dismiss it.

Do you know how to do it and do it well ?

I tried a lot of code found on the Web, and I'm a little bit tired for now trying to make such a simple and standard thing...

Was it helpful?

Solution

Take a look at Custom Views for Data Input.

Also, you don't "click" in iOS, you "tap".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top