1. Mobile-SDKs
  • Getting-Started
    • CYBEXO Developer Documentation
    • Quickstart (5 to 10 Minutes)
    • Documentation Overview
    • Concepts and Glossary
  • Compliance-and-Standards
    • Compliance Overview
    • IAB TCF v2.3 Support
    • Google Consent Mode v2 Validation
    • TCF API Validation
    • Audit Checklist (Pre-Launch)
  • Web-and-CMS-Integrations
    • CYBEXO CMP SDK – Web & GTM Setup
    • Integrate CYBEXO CMP with Webflow and Wix
    • Integrate CYBEXO CMP with WordPress
    • Integrate CYBEXO CMP with Drupal
    • Integrate CYBEXO CMP with Shopify
  • Mobile-SDKs
    • CYBEXO CMP SDK - iOS Setup
    • iOS SDK API Reference
    • CYBEXO CMP SDK - Android Setup
    • Android SDK API Reference
    • App Attribution Partner (AAP) Integrations
  • Developer-Reference
    • Web JS API Reference
    • Consent Event Schema
    • Deployment and Environments
    • CYBEXO Debug Tool
    • Troubleshooting Playbook
    • Performance and Best Practices
    • Accessibility and UX Guidelines
    • Localization Workflow
    • Migration Guide
  • Security-and-Privacy
    • Security Overview
    • Privacy Architecture
    • Data and Logging Transparency
    • Subprocessors
    • CSP and Network Allowlist
  • Enterprise-and-Legal
    • DPA and Legal Pack
    • RFP Feature Matrix
    • Status and Reliability
    • Support and Escalation
    • CYBEXO CMP SDK – Commercial Licence
  • Operations
    • Changelog and Version Policy
  1. Mobile-SDKs

iOS SDK API Reference

Last updated: February 18, 2026

1. Initialization#

CYBEXOCMP.shared.initialize(settingsId:completion:)
call once during app startup
completion callback indicates SDK ready state

2. Banner Controls#

CYBEXOCMP.shared.showBanner(force:)
force: true reopens consent UI

3. Quick Actions#

acceptAllSelections()
rejectAllSelections()

4. Granular Selection#

applyCustomSelections(pid:vid:)
applies caller-provided purpose/vendor selections

5. Read State#

getTCString()
returns stored TC string if available

6. Threading and Lifecycle Notes#

call SDK APIs from main/UI-safe context unless SDK contract states otherwise
initialize before presenting consent-dependent screens

7. Error Handling#

validate initialization callback execution in QA
log SDK readiness and consent actions in debug builds
Previous
CYBEXO CMP SDK - iOS Setup
Next
CYBEXO CMP SDK - Android Setup