Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Phonegap 2.2.0 在 ios 中创建一个应用程序。当我构建 Phonegap 团队提供的示例应用程序时,构建成功并且应用程序运行良好。但由于 iphone 的状态栏,默认情况下有滚动。
当我从应用程序中删除状态栏时,页面的滚动已解决,但我需要在应用程序中显示该状态栏。
如何在不使用“touchmove 和 e.preventDefault()”方法的情况下删除该滚动。
在 Cordova.plist 中将 UIWebViewBounce 设置为 NO。您将在资源文件夹下找到 Cordova.plist。