views:

1410

answers:

2

I ask this because I am on the verge of diving into iPhone development and I have been intently following the iPhone related questions here.

This question: http://stackoverflow.com/questions/566265/retrieving-current-local-time-on-iphone

has a comment which asks "are you creating iphone web app or iphone app" and my question is, is there a difference and if so - what is that difference.

If the "web app" is simply a matter of CSS and is more or less a traditional web app with mobile in mind, then do you need a Mac to develop those apps? Or can it be developed on any platform and accessed via Safari instead.

+14  A: 

A web app is accessed via Safari and requires no install. You are just going to a website that has a special stylesheet for the iPhone. A native app runs code on the device and is installable through the app store. You have access to all the UI elements the iPhone uses and can do things like 3D which are impossible in Mobile Safari. You need a mac to make a native app, but can make web apps with any platform of your choosing.

Squeegy
I suppose its not worth developing a web app if what I wish to do is interact with the calendar and other native features, the UI as well. The web app sounds nice but the app store, via a mac and apple developer program really *is* the way to go.
Optimal Solutions
Yes. You can do no more with a web app than your computer can do with a website. Native apps are a lot more flexible and feature rich.
Squeegy
I appreciate the answer - thanks! Gotta get me a mac mini soon!
Optimal Solutions
Note it is also possible to make a hybrid web-app/native-app by embedding the web-app project as a resource inside the native app, and starting it within a UIWebView control.
Justicle
+1  A: 

There are sorta things inbetween. For example, you could use phonegap to create an html, css, js based iphone app that is downloadable from the app store. And your app could even use some of the iphone hardware cmds from the javascript.

Neo42
Thank you for the reply!
Optimal Solutions