How to avoid keyboard hide & show when focus changes from UITextField and UIWebView?
Posted
by
Manoj
on Stack Overflow
See other posts from Stack Overflow
or by Manoj
Published on 2013-08-03T09:13:07Z
Indexed on
2014/08/20
22:20 UTC
Read the original article
Hit count: 255
ios
|objective-c
I have a requirement in which the view contains one native UITextField and one UIWebView. The issue is if I switch the focus from UITextView to UIWebView, the keyboard window flicker(hides and then shows). ie, I got UIKeyboardWillHideNotification and UIKeyboardDidShowNotification
But, this is not happening when I switch the other way. ies, I got only UIKeyboardDidShowNotification
Is there any way to avoid this flickering effect?
Note: I also notices if I have multiple UITextField and UIWebView, this issue is not happening with the same type of views.
© Stack Overflow or respective owner