Navigation SDK برای نمونه کدهای iOS
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مخزن نمونههای Navigation SDK برای iOS در GitHub شامل یک برنامه نمونه است که استفاده از SDK را نشان میدهد. می توانید برنامه را وارد کنید و بسازید، کلید API خود را اضافه کنید، نسخه آزمایشی را مشاهده کنید و از کد نمونه ارائه شده به عنوان نقطه شروع برای برنامه خود استفاده کنید. مخزن شامل دو نسخه از برنامه نمونه است:
- سوئیفت :
googlemaps-samples/maps-sdk-for-ios-samples
- هدف-C :
googlemaps-samples/maps-sdk-for-ios-samples
برای اطلاعات بیشتر درباره اجرای برنامههای نمونه، نسخه آزمایشی را امتحان کنید .
Navigation SDK برای iOS Codelab
برای یادگیری نحوه استفاده از Navigation SDK با ساخت یک برنامه ساده iOS، به Navigation SDK for iOS Codelab مراجعه کنید. Codelab یک راهنمای گام به گام برای پیاده سازی SDK با استفاده از Swift ارائه می دهد.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Navigation SDK for iOS provides a sample app with demo code in both Swift and Objective-C to help developers get started.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can easily import, build, and run the sample app by adding their API key and viewing the provided demo.\u003c/p\u003e\n"],["\u003cp\u003eThe sample code serves as a starting point for developers to build their own navigation apps, with further guidance available in the \u003ca href=\"/maps/documentation/navigation/ios-sdk/try-demo\"\u003eTry the demo\u003c/a\u003e section.\u003c/p\u003e\n"],["\u003cp\u003eA step-by-step Swift implementation guide is offered through the \u003ca href=\"https://codelabs.developers.google.com/codelabs/maps-platform/navigation-sdk-101-ios\"\u003eNavigation SDK for iOS Codelab\u003c/a\u003e, ideal for learning the SDK's usage.\u003c/p\u003e\n"]]],["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"],null,["# Navigation SDK for iOS code samples\n\nThe Navigation SDK for iOS [samples repository on\nGitHub](https://github.com/googlemaps-samples/maps-sdk-for-ios-samples)\nincludes a sample app that demonstrates the use of the SDK. You can import and\nbuild the app, add your API key, view the demo, and use the sample code supplied\nas a starting point for your app. The repository contains two version of the\nsample app:\n\n- **Swift** : `googlemaps-samples/maps-sdk-for-ios-samples`\n- **Objective-C** : `googlemaps-samples/maps-sdk-for-ios-samples`\n\nFor more information about running the sample apps, see [Try the\ndemo](/maps/documentation/navigation/ios-sdk/try-demo).\n\nNavigation SDK for iOS Codelab\n------------------------------\n\nTo learn how to use the Navigation SDK by building a simple iOS app, see the [Navigation SDK for iOS\nCodelab](https://codelabs.developers.google.com/codelabs/maps-platform/navigation-sdk-101-ios).\nThe Codelab provides a step-by-step guide for implementing the SDK using Swift."]]