Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I 'frame' a web-app in an iPhone app [closed]

I have a web app (HTML/JS/CSS) and would like to distribute it via the App store to iPhone users.

Am I able, from an App Store rules standpoint, to create a basic app which has a UIWebView (or via other method) which points at my web-app. The web-app would then load over the web each time the app is opened.

If not, am I able to do similar but load the 'web-app' from local HTML/JS/CSS files in the native app?

like image 809
Mr. Flibble Avatar asked Feb 23 '11 20:02

Mr. Flibble


2 Answers

No, this application will be rejected.

From App Store Guidelines:

Apps that are simply web clippings, content aggregators, or a collection of links, may be rejected

Here is the link

like image 94
Max Avatar answered Sep 26 '22 22:09

Max


It's an old question but no answer has mentioned PhoneGap a.k.a. Apache Cordova which I believe may be interesting for anyone who finds this question.

Essentially it's a software that lets you write mobile applications for iOS, Android, Blackberry, Windows Phone, Palm WebOS, Bada and Symbian in HTML, CSS and Javascript.

Quoting PhoneGap article on Wikipedia:

It enables software programmers to build applications for mobile devices using JavaScript, HTML5 and CSS3, instead of device specific languages such as Objective-C. The resulting applications are hybrid, meaning that they are neither truly native (because all layout rendering is done via web views instead of the platform's native UI framework) nor purely web-based (because they are not just web apps, but are packaged as apps for distribution and have access to native device APIs).

There's a lot of useful info on the Getting Started Guides.

like image 38
rsp Avatar answered Sep 22 '22 22:09

rsp