Jump to content

no keyboard on iOS (CocoonJS)


3ddy
 Share

Recommended Posts

Hello, 
I'm trying to call the keyboard on click (InputDown) event. Everything works fine in Android, but on iOS the keyboard doesn't show. I'm running the app through Cocoon Developer App using .zip file

openKeyboard: function() {
		Cocoon.Dialog.showKeyboard({
                type: Cocoon.Dialog.keyboardType.TEXT,
                }, {
                insertText: function(inserted) {
                    console.log(inserted);
                },
                deleteBackward: function() {
					console.log("deleteBackward");
                },
                done: function() {
                    console.log("user clicked done key");
                },
                cancel: function() {
                    console.log("user dismissed keyboard");
                }
            });
	}


showKeyboard function is called because I've checked that using console logs, but actual keyboard is not appearing... Anyone encountered simillar problems? Or maybe you can recommend some other option to display keyboard in native app?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...