Do any one have idea for finding true direction using iPhone? I want to implement such application in which I need to find direction in which iPhone is pointing and want to make application same as compass application in iphone 3GS.
Does iPhone 3G supports compass functionality? And can any one tell me how compass application find directions so accurately like a real magnetic compass?
Please help me for this. I am in a critical situation.
Thanks in advance.
here is a sample code link from apple.com for using magnetometer and Core Location https://developer.apple.com/library/ios/#samplecode/Teslameter/Introduction/Intro.html
you need to be logged in, in case you cant find the page, just look for Teslameter example in Sample Code section of https://developer.apple.com