DPDP Workspace
Menu

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

In code

Set up once, then check before you process
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.