Search code examples
iphoneiphone-3gs

how can i record iphone's built in compass readings and use in my app


i am developing an application in which i have to record compass reading. which is there in new iPhone 3GS. so i have to record compass reading and use it in my application. I dont want to create my own compass. is there any way by which i can do that?


Solution

  • http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CLHeading_Class/Reference/Reference.html