Datasheet
Chapter 1: The iPhone and iPod touch Development Platform
2
Safari on iPhone and iPod touch (which I refer to throughout the book as Mobile Safari ) becomes the
platform upon which you develop applications and becomes the shell in which your apps must operate
(see Figure 1 - 1 ).
Figure 1 - 1: Mobile Safari user interface
URL bar
Viewport
Toolbar
Mobile Safari is built with the same open source WebKit browser engine as Safari for OS X and Safari for
Windows. However, while the Safari family of browsers is built on a common framework, you ’ ll find it
helpful to think of Mobile Safari as a close sibling to its Mac and Windows counterparts, not an identical
twin to either of them. Mobile Safari, for example, does not provide the full extent of CSS or JavaScript
functionality that its desktop counterpart does.
In addition, Mobile Safari provides only a limited number of settings that users can configure. As
Figure 1 - 2 shows, users can turn off and on support for JavaScript, plug - ins, and a pop - up blocker. Users
can also choose whether they want to always accept cookies, accept cookies only from sites they visit, or
never accept cookies. A user can also manually clear the history, cookies, and cache from this screen.
c01.indd 2c01.indd 2 12/7/07 2:29:06 PM12/7/07 2:29:06 PM