就是一次开发后可以在安卓,ios及pc上运行的?
续问1?
如果考虑上手快,小项目(网站移动版相似),用哪种开发又快又好呢(主要考虑快,一次代码到处发布)???
续问2?
如果在以上基础还考虑未来的升级等的话,考虑哪 种开发?
PHP中文网2017-04-18 09:09:02
Currently, React Native is supported a lot. I would like to know if it is easy to get started?
黄舟2017-04-18 09:09:02
The languages used for programming on the two mobile phone platforms are different. How can it be both cross-platform and native app?
These are two mutually exclusive conditions.
Cross-platform is generally hybrid app
, which is the shell of a local app. Internally, webview
is used to display a html
web page. Although many hybrid
The framework can support the hybrid app
,即本地app的外壳,内部用webview
展现一个html
网页,虽说许多hybrid
框架可以支持调用部分原生接口了。
然而这依旧不是原生,你做个工具软件什么的还可以,做个对性能有要求软件或者游戏直接就尿了,另外现在的hybrid
call partnative interface. However, this is still not native. You can make a tool software or something, but it will be useless to make a software or game that requires performance. In addition, the current hybrid
framework generally supports native interfaces
, mainly just calling the camera, microphone, and pop-up windows.
Swift
,Object-c
安卓用 java
,c++
,Kotlin
或者其他jvm语言
To be native, you need to make a multi-platform app, or wait for Microsoft and Google to announce that they are compatible with software developed for other platforms.
Swift
, Object-c
for ios Use java
, c++
, Kotlin
for Android >Or other jvm language
. hybrid
框架吧,之前听人说过个叫html5+
ones. I don’t know if they are easy to use, but they are made in China. In addition, this definition is very vague. Using this kind of framework will always be slower than the native one, and it will cost more performance than the native one. react native