Developing Web Apps For The iPhone
Recently I got into using the entire web to my advantage, namely the mobile market.
I know, old news Ryan get to the point!
Fine! Heres the deal. So I was developing a variety of websites today for the iPhone. Now I work on Vista, so the Apple SDK is out of the question for now. Every single iPhone “Simulator” out there is lame. All it they are doing is giving you a iPhone frame with an iframe inside of it. So the question begs, how do I really know this website will work on an iPhone if I dont have one?
Well I’ll tell you the secret I found today. Download the latest version of Safari(I think you know where to find it). Once you’re all set there. Goto Edit > Preferences. Then select the Advanced tab and check the Show Develop Menu in menu bar option. Close that window and goto Develop > User Agent > iPhone(or iPod Touch).
Bingo! You’re now viewing the webpage as you would if you were on an iPhone. Obviously to get the full effect you’ll need to shrink you’re browser window to match the 320PX width. Now that you can view in the iPhone style we can add some calls in our code to check the user agent for iPhone that way our websites will show special things to iPhone users.


This website is extremely helpful! Thank you for the tech support i desperately need!