Phonegap - cordova is laggy and slow on android and iOS devices

前端 未结 5 1372
面向向阳花
面向向阳花 2021-02-09 01:26

I just now started with my first PhoneGap project using zend studio. But, after i build and deploy it, the application is quite slow. Both on android and iOS. The scrolling is l

5条回答
  •  滥情空心
    2021-02-09 01:57

    Several reasons could be the root cause. You should give more info to help you further.

    Possible quick and simple solutions. A) disable your page transitions and check the effect.

    What kind of operations are you performing on your page? Are you using additional libraries? I am not familiar with Zen studio, but how are ypu building your UI?

    The scroll could be slow or lagging if you are scrolling over a list or buttons or links and in each touch the page is triying to react to change to the hover state but it is not fast enough to match the scrolling speed. Once I had that problem and disable the hover state and the scroll speed improved a lot. Double check that in the meantime.

提交回复
热议问题