Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 8.3 UiAlertView close apple keyboard

I upgraded my iPhone version from 8.2 to 8.3 today and saw that apple changed the keyboard behaviour. when I show UIAlertVIew the keyboard close automatically.

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

like image 685
Roei Nadam Avatar asked Nov 10 '22 16:11

Roei Nadam


1 Answers

To workaround this bug in iOS 8.

Whenever you dismiss your alert by clicking any button just call [textfield becomeFirstResponder]. It will open the keyboard.

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

like image 58
shubhangi Avatar answered Nov 14 '22 21:11

shubhangi