Wiley Safari and WebKit Development for iPhone OS 3.0 978-0-470-54966-7 Manual Do Utilizador

Códigos do produto
978-0-470-54966-7
Página de 14
2
Chapter 1: Introducing Safari/WebKit Development for iPhone 3.0
JavaScript (ECMAScript 3, JavaScript 1.4)
 
AJAX (for example, XMLHTTPRequest)
 
SVG (Scalable Vector Graphics) 1.1
 
HTML 5 media tags 
 
Ancillary technologies (video and audio media, PDF, and so on)
 
Safari on iPhone and iPod touch (which I refer to throughout the book as simply 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: Safari user interface
Safari is built with the same open source WebKit browser engine as Safari for OS X and Safari for 
Windows. However, although the Safari family of browsers is built on a common framework, you’ll 
fi nd it helpful to think of Safari on iPhone as a close sibling to its Mac and Windows counterparts, 
not an identical twin to either of them. Safari on iPhone, for example, does not provide the full extent 
of CSS or JavaScript functionality that its desktop counterpart does.
In addition, Safari on iPhone provides only a limited number of settings that users can confi gure. 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.
49667c01.indd   2
49667c01.indd   2
10/9/09   8:04:22 AM
10/9/09   8:04:22 AM