开发者

iPhone - keyboard with OK button to dismiss, with return key accepted in the UITextView

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开发者_如何学C ?

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...


Take a look at Custom Views for Data Input.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜