Change the keyboard in UITextField with animation

I have a table with several textFields in several cells, each with different 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.


two UITextFields - slide first Keyboard out and next in

Maybe you can delay the appearing of the second keyboard with an NSTimer. Have a look at the documentation:

Need Your Help

Php Session don't see Servername and ServerAlias

php apache session alias server-name

I am working on a Intranet using Wordpress and setup in Apache (httpd-vhosts.conf) in order to access to the Intranet as intranet or intranet.domain.lcl like this :

View declared in DataTemplate keeps on creating when changing from Tab to Tab

c# wpf mvvm devexpress datatemplate

I have been following MVVM pattern to design my application. However, i have noticed a strange thing. I have a Tab control in which i have specified the ItemsSource as Binding for WorkSpaces from