将phonegap应用转换为iOS [英] convert phonegap App to iOS

查看:226
本文介绍了将phonegap应用转换为iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个android应用程序与Phonegap,我想把它移植到iOS以及。
这是可能吗?
我不怎么处理我的java文件!
我在Mac中的Phonegap示例项目中看到的都是客观C.
如何将我的java文件导入XCode并编译?

I developed an android application with Phonegap and I want to port it to iOS as well. Is that possible? I don't what to do with my java files!? All I see in Phonegap sample project in MAC are objective C. How can I import my java files to XCode and compile them?

推荐答案

除非你正在开发一个PhoneGap插件,你将只处理HTML / JS / CSS文件。如果你开发Android插件,你必须重新实现Objective C中的相同的功能。否则,只是将资产/ www中的文件复制到www在XCode项目文件夹中,并编译它。

Unless you are developing a PhoneGap plugin, you will be dealing with just HTML/JS/CSS files. If you developed Android Plugin, you have to re-implement the same functionality in Objective C. Otherwise, just copy over the files inside assets/www to www in XCode project folder and compile it.

这篇关于将phonegap应用转换为iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆