Sygic Maps SDK initialization is asynchronous. All SDK parts can be used only after successful initialization. Ignoring this rule may result in an app crash.
Since the first successful initialization, the application can initialize and use the SDK offline. However, the app needs Internet connection to initialize the SDK for the first time. Learn more about offline maps.
Sygic Maps SDK initialization doesn't require any system permissions. To allow SDK use the device location,
it's necessary to add
NSLocationWhenInUseUsageDescription (Privacy - Location When In Use Usage Description)
Don't use classes and functions with prefix
sygm_ (added in SDK version 20, e.g.
sygm_SYAuthIntegration). They are internal parts of the framework, temporarily exposed as public due to technical
reasons of interoperability between Swift and Objective-C. If used from outside, behavior is undefined.
Upgrade from an earlier version¶
If you previously installed the Sygic Maps SDK for iOS from a zip file containing a static framework:
- Remove all references to the previous framework from your Xcode project.
- Follow the instructions to install the Sygic Maps SDK for iOS using CocoaPods.
- Make any necessary changes as a result of the upgrade. See the release notes for a list of the changes in each release.
- Clean and rebuild your project by selecting Product > Clean and then Product > Build.