开发者

Change the keyboard in UITextField with animation

I have a table with several textFields in several cells, each with di开发者_StackOverflow社区fferent input keyboards (numeric for phone number, standard for name, etc.).

When I change the editing text field by selecting one when other is editing, I want the first text field to hide the keyboard (the one which is being used) and only then the new keyboard to appear.

But putting [textField resignFirstResponder] doesn't solve my problem (the new one appears without the other disappearing, making the animation unnoticeable).

I tried to put the thread sleeping, but it didn't work as I wished.

Is there a way to have this animation?

Thanks a lot.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜