Is there guidelines designing a website for iphone and ipad using Sample src code is also prefered

1 answer

danwellman 5600

The company I work for are primarily .Net based and our sites work on iPad and iPhone without doing anything special. Just make sure you test...

One issue you may come across however is things in your interface that rely on click events, JavaScript-based widgets for example. iPad and iPhone treat a single-click as a hover (and so don't fire the click event on a single click, just apply any CSS hover-states) and a double-click as a single click. The way to get around this is to parse the UA string for iPad or iPhone and use touchstart instead of click when these devices are found.

You may find Apple's web app design guidelines useful...

Answered over 8 years ago by danwellman