Linked by Thom Holwerda on Wed 4th Jul 2007 07:13 UTC, submitted by maccatalan
PDAs, Cellphones, Wireless Apple posted on their developer website guidelines with instructions on optimising web-applications for the iPhone. "Developers can create Web 2.0 applications that look and behave just like the applications built into iPhone, and provide seamless integration with iPhone applications and services including making a phone call, sending an email, and displaying a location in Google Maps. Third-party applications created using web standards can extend iPhone's capabilities without compromising its reliability or security."
Thread beginning with comment 252966
To read all comments associated with this story, please click here.
Tutorial does not help me
by Eugenia on Wed 4th Jul 2007 17:08 UTC
Eugenia
Member since:
2005-06-28

I am not happy with that level of detail on the document. For example, the OSNews mobile page does not render correctly because "100% width" is interpreted as 960 pixels instead of 320: http://eugenia.blogsome.com/2007/07/01/iphones-web-browser/

If I do what the tutorial suggests:
<meta name="viewport" content="width = 320" />
what happens when the user goes into landscape mode? Does the page flows to 480px wide (as it should), or it stays "locked" to 320px? This is not discussed, and it's crucial for me, and it's a matter that the desktop Safari version won't help me test.

RE: Tutorial does not help me
by Buck on Wed 4th Jul 2007 19:47 in reply to "Tutorial does not help me"
Buck Member since:
2005-06-29

Well, obvivously if you set your page to width=320 then width=100% essentially means 320. Likewise, if you set it to 400-something, then it will scroll in portrait mode. I don't think it supports dynamic scaling at all!

Reply Parent Bookmark Score: 2

Alex Forster Member since:
2005-08-12

So accept that it's a full web browser and stop serving the mobile version to iPhones. If I had an iPhone and was served a mobile version of OSNews, I would be mighty angry.

Reply Parent Bookmark Score: 1

Eugenia Member since:
2005-06-28

I do not agree with you. No matter what Apple says, the resolution of the screen is 320x480 and OSNews (and most sites) *are* designed for 800x600 screens. So, the mobile version (which is what it's currently been served btw) *is* the best solution to avoid zooming needlessly. You have to zoom-and-pan to use the full version of osnews and must finger-scroll ALL the time in order to read a news item. I would agree with you if our mobile version was the same as the other sites' mobile versions, but it's not. It almost a full-featured version with a real design. So, Alex, don't try to second guess me -- not at this matter anyway. After we fixed the problem as described in my blog, the current serving is the best solution.

Reply Parent Bookmark Score: 1