IOS 8.3 UiAlertView close the apple keyboard

Today I upgraded my iPhone from 8.2 to 8.3 and saw that the apple had changed keyboard behavior. When I show UIAlertVIew , the keyboard closes automatically.

I need to keep the keyboard open. Is it possible?

+5
source share
2 answers

To get around this error in iOS 8.

Whenever you reject your warning by pressing any button, just call [textfield becomeFirstResponder] . He will open the keyboard.

Or you can call [textfield becomeFirstResponder] after doing [alert show] .

+1
source

If you want the keyboard to be open after a warning is displayed, simply use the following code:

Swift:

 alert.show() text1.becomeFirstResponder() 

Objective-C:

 [alert show]; [text1 becomeFirstResponder]; 
0
source

All Articles