Program247365 home

iPad Web Development

Saturday, April 03, 2010

Who are you?

I want to develop some iPad-specific websites. I thought, first and foremost, I should probably know what user agent the iPad sends to identify itself.

Once I was at the Apple store in Buffalo, I got in line, waited about twenty minutes, and was inside the store with one in my hands. I visited one of my sites, first thing, and then looked at my server logs when I got home.

kevinridgway.com "better" post on the iPad

Here is my iPad set on Flickr, if you want to see more..

The user agent string reported was:

The user agent reported on Apple's site only differs in Mobile Safari version number, to the one that my website logs reported from the final launched iPad.

I became interested in this as a web platform when it was first announced. Since then Google has even made a version of the Gmail interface for iPad users.

View the iPad Version of Gmail with Fluidapp

You can see the iPad version of Gmail in person, without an iPad if you spoof your user agent.

I did this using FluidApp:

  1. Create a fluid application using the usual gmail address.
  2. Once your application is created, launch it, and then click on it's name in the menubar.
  3. Then click on the "User Agent" item
  4. Click on the "Other" user agent item, that expanded when you clicked "User Agent"
  5. In the window that pops up, paste in the iPad User agent

Refresh the page in FluidApp, and you should see the email items in your inbox listed in a pane on the left, with a larger right pane, viewing the message you're currently on.