Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Ionic iOS Keyboard

$
0
0

@sebbizeul wrote:

I want to display the iOS keyboard when a user click on a button.
Here is my HTML code:

<div ng-controller="KbCtrl as ctrl">
    <button ng-click=(ctrl.showKeyboard())></button>
</div>

And my controller:

angular.controller('KbCtrl', function() {
    var self = this;
    this.showKeyboard = function() {
        cordova.plugins.Keyboard.show();
    }
})

So, when the user click on the button it will run the showKeyboard() function in my controller.
But nothing appears and I get this message on my system.log:

Showing keyboard not supported in iOS due to platform limitations.

How to fix this? I really need this functionality in my app.
Is there another way or maybe another plugin who works well on iOS??

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>