user3037814
user3037814

Reputation: 153

Phonegap: android faster than ios

I just developed an app with phonegap. With Android is really fast, but with ios there are same lags, like when I click on a button, on ios it take about half second more than android.

Do you know anything about it ?

Thanks

Upvotes: 0

Views: 87

Answers (1)

siegs
siegs

Reputation: 627

try the fastclick.js plugin for your ios app. it eliminated any delays with the buttons for me. all you do is download the js file, link it, and then add this code to your js:

$(function() {
    FastClick.attach(document.body);
});

i believe this is where is got it from: https://github.com/ftlabs/fastclick

Upvotes: 2

Related Questions