[](https://travis-ci.org/Ahmet Ozisik/backtrack-ios-sdk)
To run the example project, clone the repo, and run pod install
from the Example directory first.
In order to use this SDK, you will need a client access key and secret. The SDK can be integrated for:
- Login capabilities (registration, etc)
- Multilingual capabilities
- Access to your application database
- Checking & downloading updates-
- Using pre-calculated data from Backtrack to offer point-to-point navigation
This SDK depends on MapBox, AFNetworking and other third-party open source software. For a full list of dependencies, view the Podspec file.
backtrack-ios-sdk is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Backtrack-iOS-SDK"
Include "BacktrackClient.h" where necessary and add the following lines to your AppDelegate, inside "didFinishLaunchingWithOptions" method
[BacktrackSDK setBaseURL:@"https://backtrack.sailbright.com/api/"];
[BacktrackSDK setClientID:@"yourClientId" clientSecret:@"yourClientSecret"];
[BacktrackSDK setMapBoundaries:CGVectorMake(mapNorthEnd, mapSouthEnd) westEast:CGVectorMake(mapWestEnd, mapEastEnd)];
To change the color of icons (MakiBundle) downloaded together with the SDK, add the following line to your Podfile
ENV['backtrack-icon-color'] = '7d76ba'
Ahmet Ozisik, [email protected]
Backtrack iOS SDK is available under the Apache License. See the LICENSE file for more info.