iOS SDK
A small native Swift library with the same simple calls as Android, so both apps ask and answer the same way.
What you get
Native Swift
A small Swift library with the same calls as the Android SDK, so your two apps behave alike and share one set of records.Ask only when needed
The SDK shows your notice only when a choice is due, and answers what is allowed before you process.Change of mind in the app
One call opens the person's privacy choices, where they can change or withdraw a choice as easily as they gave it.
In code
import DPDPWorkspaceConsent
// At app start
DPDPWorkspaceConsent.configure(appId: "your-app-id")
DPDPWorkspaceConsent.askIfNeeded(from: viewController)
// Before you process
if DPDPWorkspaceConsent.allowed("marketing-emails") {
// send the offer
}See it working with your team
We set up the SDK with your team and show the records it keeps.