Navigation SDK for iOS code samples
The Navigation SDK for iOS samples repository on
GitHub
includes a sample app that demonstrates the use of the SDK. You can import and
build the app, add your API key, view the demo, and use the sample code supplied
as a starting point for your app. The repository contains two version of the
sample app:
- Swift:
googlemaps-samples/maps-sdk-for-ios-samples
- Objective-C:
googlemaps-samples/maps-sdk-for-ios-samples
For more information about running the sample apps, see Try the
demo.
Navigation SDK for iOS Codelab
To learn how to use the Navigation SDK by building a simple iOS app, see the
Navigation SDK for iOS
Codelab.
The Codelab provides a step-by-step guide for implementing the SDK using Swift.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-07 UTC.
[null,null,["Last updated 2025-02-07 UTC."],[[["The Navigation SDK for iOS provides a sample app with demo code in both Swift and Objective-C to help developers get started."],["Developers can easily import, build, and run the sample app by adding their API key and viewing the provided demo."],["The sample code serves as a starting point for developers to build their own navigation apps, with further guidance available in the [Try the demo](/maps/documentation/navigation/ios-sdk/try-demo) section."],["A step-by-step Swift implementation guide is offered through the [Navigation SDK for iOS Codelab](https://codelabs.developers.google.com/codelabs/maps-platform/navigation-sdk-101-ios), ideal for learning the SDK's usage."]]],[]]