9781118006436-ba1201.tif

Chapter 12: Using Device Detection to Target iPhone and iPad Designs

In This Chapter

arrow Understanding device detection

arrow Detecting and directing content to an iPhone or iPad

arrow Setting up simple browser detection with PHP

arrow Using open source detection scripts

9781118006436-co1201.tif

A restaurant must get the right meal to the right table while the food is still hot, or else it won’t stay in business long. To meet this goal, well-informed wait staff must first write the order correctly and staff members in a well-organized kitchen must prepare variations of the same meal quickly, without compromising quality.

Similarly, if you want to deliver tailored versions of your website to the iPhone/iPad or another device, you must properly determine the kind of device each visitor is using (device detection, similar to turning in the right order) and then deliver the best version of your site for each of these devices (content ...

Get iPhone® & iPad® Web Design For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.