I have a view controller that has a keyboard (I use becomFirstResponder in my viewDidLoad method to achieve this). This view controller also has a button which triggers an IBAction that uses pushviewcontroller to load another viewcontroller. This works fine but my problem is the keyboard seems to animate away after the content in the first view controller. So essentially it is still there when the next view controller loads for a few seconds and then slides out of the scene….Has anyone else encountered this problem?
Share
In your view controller with the Text Fields hook up UITextFieldDelegate and do
then implement it in the controller –
So when you are ready to push your new view controller you just –
or simpler yet resign all of your text fields