Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
117
rated 0 times [  119] [ 2]  / answers: 1 / hits: 25648  / 11 Years ago, wed, february 26, 2014, 12:00:00

I have this web app which works great on mobile browsers however I would like to allow this app being downloaded as native app through the apple app store.



My app basically consists out of three files which it serves to the client:




  • index.html

  • build.js

  • build.css



My research so far came to the conclusion that it is possible to do this by creating a web view with objective-c which executes the web app. Additionally you may use SDKs like phone gap to use native APIs (which is not required in this case).



Unfortunately I do not find a lot information on this by google, so I have following questions:




  1. What is the keyword I am looking for (whats the term for wrapping html app in object-c)?

  2. Do I have to change the urls in my build.js (or can I overwrite current origin)?

  3. Is there anything else I would need to change in build.js?

  4. Are there any problems I should consider?


More From » ios

 Answers
11

Is it possible? Yes. Will apple approve your app? Defiantly not.



From the App Store Review Guidelines:




2.12 Apps that are not very useful, are simply web sites bundled as apps,
or do not provide any lasting
entertainment value may be rejected





  1. web shell, web app

  2. Changing the urls for local path would work.

  3. Depends on how build.js was written.

  4. The above.



So what can you do?



Think how to improve your app with native code and add some functionality to it.



Focusing on the native code will help. If you'll submit an app that opens a UIWebView and that's it apple will 100% reject it.



I wrote an app for my company that wrapped a web app inside a UIWebView but had a lot of native code that would sniff the current UIWebView url and triggered functions accordingly. (Opened the cam, recorded audio, uploaded stuff to the server) so in the end it was very hybrid.



Apple rejected it with the claim that the user still sees only a webpage. I had to add a lot of other visible functionality in order for it to get approved.


[#72303] Monday, February 24, 2014, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gregoriocoya

Total Points: 549
Total Questions: 111
Total Answers: 104

Location: Saint Helena
Member since Mon, Jan 16, 2023
1 Year ago
;