I have a requirement in which the view contains one native UITextField and one UIWebView. The problem is that I will switch focus from UITextView to UIWebView, the flicker of the keyboard window (hides and then shows). those. I got UIKeyboardWillHideNotification and UIKeyboardDidShowNotification
But this does not happen when I switch the other way. x, I only got UIKeyboardDidShowNotification
Is there any way to avoid this flickering effect?
Note. I also notice that if I have multiple UITextField and UIWebView, this problem does not occur with the same type of views.
source share