showGoogleBasicConsent(delegate: )
.didReceiveGoogleBasicConsentChange(consents: )
, which will trigger and provide the consent values.startChoice
API by incorporating the gbcDelegate
parameter. Setting this delegate to receive the corresponding callback is imperative.showCCPA(ccpaDelegate: )
.startCCPA(pcode: , ccpaDelegate: )
API for displaying CCPA popup. You should use showCCPA(ccpaDelegate: )
instead.didReceiveIABVendorConsent
callback. This enhancement ensures a more seamless and predictable execution of concurrent tasks, contributing to a smoother user experience.
```
let style = ChoiceStyle(preferredThemeMode: .auto, lightThemeStyleSheet: "LightStyleSheet", darkThemeStyleSheet: "DarkStyleSheet")
ChoiceCmp.shared.startChoice(pcode: "< YOUR PCODE >", delegate: self, style: style)
```