Get started
Last updated
Was this helpful?
Last updated
Was this helpful?
Before starting DriveKit Permissions Utils UI integration, make sure that you have initialized module, especially if you have .
The Permissions Utils UI SDK is available on Swift Package Manager and Cocoapods master repo.
In Xcode, if not yet done, add the DriveKitUI SDK by navigating to File > Add Package Dependencies… and in the prompt that appears, enter the DriveKitUI repository:
https://github.com/DriveQuantPublic/drivekit-ui-ios.git
Include DriveKitPermissionsUtilsUI in your app.
If not yet done, to integrate DriveKitUI to a Swift package via a Package.swift file, you can add DriveKitUI to the dependencies array of your package. For more details, see the .
Then in your target, add DriveKitPermissionsUtilsUI to the dependencies array of that target:
Add the following lines to your Podfile:
Then, run pod install
Then, to initialize the Permissions Utils module in your app, you must call the initialization method in didFinishLaunchingWithOptions method of your AppDelegate:
If you have , the Permissions Utils UI module must also be manually initialized. In the application's AppDelegate file, import DriveKitPermissionsUtilsUI: