简体   繁体   English

Phonegap应用程序Jquery页面滚动无法在iPhone 5中使用

[英]Phonegap app Jquery page scroll not working in iphone 5

I am developing a phonegap app with cordova 2.0 and am jquery mobile for design. 我正在使用cordova 2.0开发一个phonegap应用程序,并且使用jquery mobile进行设计。 My app is having header , content and footer as mentioned in screenshot below 我的应用程序具有标题,内容和页脚,如下面的屏幕截图中所述

我的应用程式

My media content has 1000 lines of contents . 我的媒体内容有1000行内容。 Main content is not scrolling in iphone 5 . 主要内容不在iphone 5中滚动。 But scroll works fine with ipad and iPhone 4 . 但是,滚动可以在ipad和iPhone 4上正常工作。

You may want to read this - http://apachecordova.blogspot.co.il/2012/11/who-is-murdering-phonegap-its-jquery.html . 您可能需要阅读以下内容-http://apachecordova.blogspot.co.il/2012/11/who-is-murdering-phonegap-its-jquery.html We were working on a project which was written with jQM, and on the client side there was a poor native app just to show the html content. 我们正在开发一个用jQM编写的项目,在客户端,有一个性能较差的本机应用程序仅用于显示html内容。 The project was to convert the native code to PG, and it was only later that we understood that jQM is a bad companion for PG. 该项目是将本机代码转换为PG,直到后来我们才知道jQM对PG是不利的伴侣。 There were so many side effects, and the application was full of bugs, that we wish we never had started this project. 有太多的副作用,并且应用程序中充满了错误,我们希望我们从未开始过这个项目。 Consider not using jQM or PG (meaning, not together). 考虑不使用jQM或PG(即不一起使用)。 I know that isn't an answer but I cannot post this as a comment. 我知道这不是答案,但是我不能发表评论。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM