# iOS consent SDK — Cookie Panda

**Source:** https://cookiepanda.app/platforms/ios  
**Summary:** A Swift Package that renders a native, polished consent sheet and persists every choice to the standard IABTCF_* keys.  
**Publisher:** Cookie Panda

---

Platforms

## iOS

Native Swift consent that feels like part of your app

## iOS consent, live

A Swift Package that renders a native, polished consent sheet and persists every choice to the standard IABTCF\_\* keys. It is IFA/LAT-aware, so consent respects the device's tracking and Limit Ad Tracking settings before a single SDK fires.

### Granular preferences

Visitors can fine-tune every purpose and vendor from the same native, remote- and touch-friendly preferences screen.

## Add iOS in minutes {#add-ios-in-minutes}

A Swift Package that renders a native, polished consent sheet and persists every choice to the standard IABTCF\_\* keys. It is IFA/LAT-aware, so consent respects the device's tracking and Limit Ad Tracking settings before a single SDK fires.

```swift
// Package.swift — add the Swift Package Manager dependency
.package(
  url: "https://github.com/cookiepanda/cookiepanda-ios",
  from: "1.0.0"
)

// AppDelegate.swift
import CookiePanda

CookiePanda.start(token: "cp_xxx")
```

### What you get on iOS {#what-you-get-on-ios}

- Native SwiftUI/UIKit sheet — no web view, no jank
- IAB TCF v2.3 in-app: writes the standard IABTCF\_\* UserDefaults keys
- IFA / LAT-aware — reads ATT status before exposing the advertising ID
- Google Consent Mode v2 signals shared with your analytics SDKs
- Signed consent receipts synced to your Cookie Panda dashboard
- Full theming, dark mode and 40+ languages built in
