This says to do it like so which seems to work:
var isIpad = navigator.userAgent.match(/iPad/i) != null;
No comments:
Post a Comment