IPhone SDK Released! 
July 5th, 2007
And of course by “SDK” I mean an Apple SDK that consists of a single HTML page with half a dozen snippits of HTML.
Nonetheless there are some good tidbits there.
I was wondering about some event stuff and here is the general event info:
| Gesture | Result |
| Double tap | Zoom in and center a block of content |
| Touch and hold | Display an information bubble |
| Drag | Move the viewport or pan |
| Flick | Scroll up or down (depending on the direction of the finger movement) |
| Pinch open | Zoom in |
| Pinch close | Zoom out |
Remember, since there is no mouse, hover events will not work.
You can have the iPhone make calls for you from HTML pages using
An iPhone specific CSS can be applied using the
Also of interest is the viewport meta tag that lets you tell Safari on the iPhone how to scale and zoom your content:
<meta name="viewport" content="width = 320" /> <meta name="viewport" content="initial-scale=2.3, user-scalable=no" />For lots more good info check out the recent post on Ajaxian and the google group.
Del.icio.us
This entry was posted on Thursday, July 5th, 2007 at 4:16 pm and is filed under Uncategorized, Web, iphone. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
