views:

283

answers:

1

Know if it's possible to access the iPhone compass in Safari using JavaScript? I see how the GPS can be accessed, but I can't figure out the compass.

Thanks, as always!

A: 

You cannot access that information via javascript, unless you're using something like iPhoneGap

christo16
Thanks, good to know.
Drew Dara-Abrams