![]() Now you’re ready to use the TomTom APIs in your project. Note: To use additional APIs such as Search, Routing, or Geofencing, you may need to specify more entries in the ist file, such as “ OnlineSearch.Key“. Set the Value to the TomTom API key created in your TomTom Dashboard. Right-click to add a new row and name it “OnlineMap.Key”. ![]() Lastly, you need to set the TomTom API Key in the project, so open the ist file from your project navigator. xcodeproj file) so Xcode can find the SDK modules. You can ignore any warnings that appear during the installation.Īfter this, you’ll need to refresh the Xcode project to include the new dependencies. Install the SDK modules you added by typing “pod install” in your Terminal window. The Map UI Extensions pod (TomTomOnlineSDKMapsUIExtensions) is included to provide some options UI view components such as a compass or zoom and pan controls. Check the SDK Release Notes for details on changes between releases. CocoaPods will install the latest release by default if you don’t include a version. Note that you don’t need to include the version number for the pod unless you need a specific version. For this project, you only need the Maps module so open Podfile in a text editor like nano and add the following lines inside your target: ![]() Now you can specify the TomTom SDK modules you’d like for your project, such as Maps, Search, or Routing. This will create a new file called Podfile in your directory. Open your project folder in a Terminal window and type “pod init”. Next, set up CocoaPods to manage the TomTom SDK modules. Uncheck the Include Unit Tests and Include UI Tests options, then click Next and Create. With all of the required software in place, it’s time to create your project in Xcode.įirst, create a new Single View App project in Xcode and make sure to select Storyboard for the User Interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |