Navigation SDK for iOS のコードサンプル
Navigation SDK for iOS の GitHub のサンプル リポジトリには、SDK の使用方法を示すサンプルアプリが含まれています。アプリをインポートしてビルドし、API キーを追加してデモを表示し、提供されているサンプルコードをアプリの開始点として使用することができます。このリポジトリには、サンプルアプリの 2 つのバージョンが含まれています。
- Swift:
googlemaps-samples/maps-sdk-for-ios-samples
- Objective-C:
googlemaps-samples/maps-sdk-for-ios-samples
サンプルアプリの実行の詳細については、デモを試すをご覧ください。
Navigation SDK for iOS Codelab
簡単な iOS アプリを作成して Navigation SDK を使用する方法については、
Navigation SDK for iOS Codelab をご覧ください。この Codelab では、Swift を使用して SDK を実装する手順を説明します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-16 UTC。
[null,null,["最終更新日 2025-07-16 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."]]],["The Navigation SDK for iOS samples repository on GitHub offers a sample app in both Swift and Objective-C. Users can build the app, integrate their API key, and view a demo. The provided code serves as a foundation for custom app development. Additionally, a Navigation SDK for iOS Codelab guides users through building a basic iOS app using Swift with a step-by-step approach. Further details about running sample apps are available in the \"Try the demo\" section.\n"]]