IngeoSDK is a location library for iOS which powers your app with an always-ON (24/7) location awareness while keeping low battery consumption. It uses unique algorithms to dynamically adjust GPS power and monitoring mode according to user behaviour and whereabouts. Battery consumption is just 2% per hour. We believe that location monitoring should be simple and should just-work, so you focus on building your app.
For a full list of IngeoSDK features visit: http://ingeo.io/sdk
-
Download as zip file or clone this repository.
-
Unzip and drag IngeoSDK.framework from Framework folder to your project.
-
Add the following frameworks to your Xcode project (don't worry, these are dynamic bindings and will not increase your app size):
CoreLocation
CoreData
CFNetwork
SystemConfiguration -
Linker Settings
In Xcode, Go to 'Build Settings' -> 'Linking' -> 'Other Linker Flags'.
Enter -ObjC and save. -
Import
#import <IngeoSDK/IngeoSDK.h>
-
Initialize
Add the following line in your Controller (viewDidLoad or wherever you want):[IGLocationManager initWithDelegate:self secretAPIKey:@"APIKEYGOESHERE"];
-
Start Location Monitoring
[IGLocationManager startUpdatingLocation];