Apple posted guidelines for Optimizing Web Applications and Content for iPhone. While they are already quite comprehensive they do not answer all my questions.
By briefly skimming the document the following first questions arose:
- What about display: block in style sheets?
When the user double-taps a page, Safari on iPhone looks at the element that is double-tapped, and finds its closest block (as identified by elements like
TABLE) or the image element (
IMG) ancestor. If the found element is a block, Safari on iPhone zooms the content to fit the viewport width and then centers it. If it is an image, Safari on iPhone zooms to fit the image, and then centers it. If the block or image is already zoomed in, Safari on iPhone zooms out.
So what about inline elements turned blocks via a display: block stylesheet statement? Are these blocks also identified as double-tap zoomable blocks? What about block elements turned inline via stylesheets?
- Full RFC2806 support?
A link to a phone number looks like this:
If you don’t wrap phone numbers in a link, Safari automatically converts any number that takes the form of a phone number to a telephone link. If your page contains a series of numbers that could be interpreted as a phone number, but isn’t, you need to break up the numbers using span elements, for example.
So while i’m happy that apple choose the tel: URI scheme (and not wtai: or callto:) i’m not sure if that does mean that they are supporting RFC2806 e.g. support URIs that include global phone numbers and post-dialing parts like DTMF-Tones.
- Map links – Hardwired or MIME-Type?
Google maps links open a built-in Google client rather than making a connection through the public website.This link opens to a point on a map (Cupertino, California):
This link provides directions between two points, San Francisco and Cupertino:
Is the mapping from maps.google.com URLs to the Google Maps application hardwired or is it done the standard way for mapping HTTP Responses to local Applications, e.g. using MIME-Types. If the latter is the case which MIME-Type is used?
Since i have to wait at least wait until the end of the year to lay my hand on n iPhone, can somebody out there answer these questions for me?