Skip to content Skip to sidebar Skip to footer

Cordova Ios Don't Respond To Touchinput

I have created a Cordova app on iOS and when I try to press the button on the simulator or on a real device is is supposed to show me an alert that the button has been pressed. Unf

Solution 1:

onClick actually needs to be onclick. That will get your your alert, but only when you lift your finger, and it will be laggy. This is because onclick is generally used for the computer. For ios with cordova you can use ontouchstart.


Post a Comment for "Cordova Ios Don't Respond To Touchinput"