Question

How to handle softkeyboard show/hide events in android and iPhone in a hybrid app uses worklight.

I'm using Worklight 6.1.0.01

Était-ce utile?

La solution

The following is working fine in both android and iOS

  document.addEventListener("showkeyboard", function(){
//keyboard is ON
  }, false);
  document.addEventListener("hidekeyboard", function(){ 
//keyboard is OFF
  }, false);

Thank you

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top