我准备设置我制作的移动web应用程序,并使用Adobe的Phonegap Build服务将其制作为iOS本机应用程序。在阅读关于如何设置所有内容的文档时,它提到了一个config.xml文件,用于定义图标,闪屏和标题。看到Jquery Mobile通过HTML文件头中的元标记来完成所有这些工作,在使用phonegap构建时,我还需要使用xml文件吗?用jquery mobile为iOS设置phonegap
回答
在使用cordova.plist的xcode版本的phonegap中没有config.xml文件。
https://stackoverflow.com/a/11418415/773263
更正:作为科尔多瓦2.3.0 cordova.plist现在config.xml中
http://shazronatadobe.wordpress.com/tag/cordova-plist/
所以,如果你正在使用2.3下一个版本的PhoneGap的。 0我上面发布的是有用的。如果使用2.3.0或更高版本,则需要通过config.xml文件配置您的应用程序。
至于如果使用jQuery Mobile的,当你需要使用的config.xml或cordova.plist答案是肯定的,你总是有使用科尔多瓦/ PhoneGap的时候使用的config.xml或cordova.plist。
因此,它可以安全地说,一旦我将我的移动web应用程序转换为本机应用程序,我可以删除使网络应用程序有效的元标记,并仅依靠JQM进行样式和转换,并使用config.xml文件图标,名称等 – mhartington 2013-02-25 02:43:29
是的,meta标签将不需要。 – 2013-02-25 05:16:20
- 1. 为jQuery Mobile设置大小?
- 2. PhoneGap + jQuery Mobile + cakePHP
- 3. jquery mobile + phonegap onclick
- 4. PhoneGap + Leaflet + Jquery Mobile
- 5. 使用Phonegap + jQuery Mobile滚动
- 6. background-image phonegap jquery mobile
- 7. Phonegap - 为WebView添加标题 - jQuery Mobile
- 8. phonegap/jquery mobile - iframe&back button
- 9. AngularJs + jQuery Mobile的不PhoneGap的
- 10. 的PhoneGap + jQuery Mobile的路径
- 11. PhoneGap,jQuery Mobile和Retina Display
- 12. jquery mobile + phonegap = base URL文件://
- 13. Phonegap + jQuery Mobile + Blackberry陷阱
- 14. PhoneGap/JQuery Mobile表单数据
- 15. 防止放大Phonegap + JQuery Mobile
- 16. 的PhoneGap + jQuery Mobile的+ JSON
- 17. jQuery Mobile&PhoneGap deviceReady()未解锁
- 18. jQuery Mobile的不PhoneGap的应用
- 19. Tastypie - jquery mobile - Phonegap应用程序序列
- 20. 使用Jquery mobile和Phonegap设备的正确方法Apis
- 21. jQuery Mobile Phonegap iOS:当我拔起键盘时,标题闪烁
- 22. 如何刷新或重置phonegap + jquery mobile中的应用程序?
- 23. 设置旋转箱位置JQuery Mobile(css)
- 24. 用eclipse设置Phonegap
- 25. PhoneGap for mobile application
- 26. 如何在PhoneGap中为iOS设置启动画面
- 27. Phonegap - jquery/jquery mobile只适用于应用程序的第一页
- 28. 用CocoaPods为iOS设置OCMock
- 29. jquery-mobile事件顺序,为什么setTimeout将$ this设置为undefined?
- 30. 将页面的行为设置为jquery mobile中的对话框
我非常确定Xcode使用XML文件作为编译ipa时需要在Xcode中存在的设置。虽然我使用PhoneGap已经有一段时间了。我建议你看看钛。这是一个意见,但它是一个更灵活的产品。并且通常会产生更加精细的结果。 – Leeish 2013-02-24 23:34:00