Also see our Getting Started Guide on our developer website.
The Sample iPhone app project will get you started quickly using the SDK. When you open the XCode project, all you need to do is fill in your API key in
LQConfig.h, which you can get from our developer site.
After you build the project, you should see the sample app in the simulator.
You can choose the "passive" mode to start tracking in background mode which will conserve as much battery power as possible.
If you choose "logging" mode, you will record much more data and it will be sent to the server in batches.
After the phone or simulator has located its position, you can press the "Get Location" button which will make an API request to the Geoloqi API and retrieve information about the current location.
If you are adding the SDK to an existing project, follow the steps in our Getting Started guide.
You will need to:
- Add the library to your project
- Set up your app delegate to notify the SDK when your app launches
- Handle push notification registration if needed
- Choose a tracking mode to get started