examples/ios/CoreLocationExample/README.md
This Example demonstrates using the native CoreLocation Apple SDK to understand your device's general cardinal direction.
After studying this example, you'll understand how to grab the CoreLocation information from your device, and use it to rotate an image in your application for immediate feedback within the interface.
In the code, pay attention to:
ofxiOSCoreLocation object.startHeading() and startLocation() methods of the ofxiOSCoreLocation object are called in the setup(), telling native Apple SDKs to begin sending you the device's details.getTrueHeading(), getLatitude(), and getLongitude() methods of the ofxiOSCoreLocation bring back fun and useful geo-spatial data, used in both the update() and draw() events.When launching this app, you should see a screen with:
Instructions for use:
This Example uses the following classes: