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

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top