Wednesday 15 September 2010

ios8 - iOS 8: UIAlertController text field losing focus when presented over UIWebView -



ios8 - iOS 8: UIAlertController text field losing focus when presented over UIWebView -

when user taps on portion of webpage in uiwebview, trigger native uialertcontroller asking password. communication done via javascriptcore framework, creation , presentation of alert native.

unfortunately, 1 time uialertcontroller text box presented, keyboard briefly appears , dismissed. user can still tap text box keyboard back. not happen when alert presented on normal uiviewcontroller without uiwebview has focus.

i suspect uiwebview stealing first responder status after alert presented, don't know how stop it.

the alert uialertview, , exhibited same behavior on ios 8. functioned expected in ios 7, , keyboard not dismissed upon presentation. updated uialertcontroller in hopes of eliminating bug, looks it's specific uiwebview + ios 8.

uiwebview ios8 uialertcontroller

No comments:

Post a Comment