How do you display a keyboard using Trigger.io on iOS without requiring user action? -


i keyboard automatically displayed when call $('#elementid').focus() on input text box. there anyway accomplish this?

just using .focus() on element restricted due browser security limitations. however, write trigger.io native plugin disables limitation ios 6 , above. use app , want release on github soon. now, should going:

nsstring *reqsysver = @"6.0"; nsstring *currsysver = [[uidevice currentdevice] systemversion];  // check if on >= ios 6 if ([currsysver compare:reqsysver options:nsnumericsearch] != nsorderedascending) {     [forgeapp sharedapp].webview.keyboarddisplayrequiresuseraction = no;     [task success:nil]; } else {     [task error:@"invalid ios version"]; } 

after called plugin method once in app, able use normal .focus() on input element.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -