How to detect iPhone, iPad, iPod with JavaScript,
published: 2010-05-06 11:10:43
Just a very quick and easy way to detect Apple's devices:
var isiPad = navigator.userAgent.match(/iPad/i) != null;
var isiPhone = navigator.userAgent.match(/iPhone/i) != null;
var...