移动应用程序vs Web应用程序 - 苹果不再接受网络应用程序? [英] Mobile App vs Web App - Apple no longer accepting web apps?

查看:172
本文介绍了移动应用程序vs Web应用程序 - 苹果不再接受网络应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎不能在网上,也不是在SO或Android SO上找到这个。

I cannot seem to find this on the web nor on SO or Android SO.

基本上我打算做一个简单,响应HTML5移动网站与PHP / MySQL后端 - 它就像一个日记/轨道计划。然后,我希望使用Phonegap,Titanium或其他一些库快速制作移动应用程序文件,然后将其发布到市场上 - 这将不会有真正的原生功能。

Basically I plan to make a simple, responsive HTML5 mobile website with a PHP/MySQL backend - it is like a diary/track planner. I then wish to use Phonegap, Titanium or some other library to quickly make a the mobile app files and then ship it on the marketplace - there will be no real native features.

我刚刚从我的表弟听说,苹果不再接受非本地应用程序 - 所以Phonegap和其他应用程序必须使用本机功能。这是真的吗?

I have just heard from my cousin however that Apple is no longer accepting non-native apps - so Phonegap and other apps must use native functions. Is this true?

推荐答案

苹果商店仍在接受混合应用程序。

Apple store is still accepting hybrid apps.

根据我的经验,如果您使用服务器端代码生成您的页面布局,您的应用程序将被拒绝。但是如果你使用PHP / MySQL后端作为web服务与移动客户端通信,那么你是好去。这是一个相当bed的情况,因为你需要使用混合应用程序的页面内容生成。

From my experience your app will be rejected if you use server side code to generate your page layout. But if you use PHP/MySQL back end as a web service to communicate with a mobile client then you are good to go. This is a rather bed situation because you need to use your hybrid app for page content generation. But at least your app will be accepted.

您的应用程式版面配置必须与原本的iOS应用程式类似。

One more thing your app layout must resemble native iOS apps.

Titanium仍然是一个安全的赌注,因为它的最终结果是一个原生应用程序。在Phonegap的情况下,一个好的解决方案是Phonegap + jQuery Mobile或Phonegap + KendoUI(可能是最好的解决方案,因为它的UI最接近原生iOS外观)。

Titanium is still a safe bet because its final result is a native app. In case of Phonegap a good solution is Phonegap + jQuery Mobile or Phonegap + KendoUI (probably the best solution because it UI is closest to native iOS look).

EDIT:

如需更清楚的说明:


  • PHP / MySQL后端作为Web服务

  • PHP/MySQL back end as a web service

您的所有页面都已经在phonegap应用程序(在assets / www dir中),ajax用于与Web服务器通信并检索内容(例如新闻列表或单篇文章数据)。

All your pages are already inside phonegap app (in assets/www dir) and ajax is used to communicate with web server and retrieve content (for example news lists or single article data). Then that data is used to generate a page content inside a html file.

还要看看我的回答(一个类似的问题): http://stackoverflow.com/a/14166593/1848600

Also take a look at my answer (to a similar question): http://stackoverflow.com/a/14166593/1848600

Phonegap并从远程服务器加载网络应用程序

Phonegap and loading a web app from remote server

基本上您打开远程Web应用程序,并在phonegap应用程序中显示它。以下是一个示例(也是我的回答): http://stackoverflow.com/a/13996437/1848600

Basicaly you open you remote web app and show it inside phonegap app. Here's an example (also my answer) : http://stackoverflow.com/a/13996437/1848600

这篇关于移动应用程序vs Web应用程序 - 苹果不再接受网络应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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