Instance Methods | |
(NSString *) | - advertisingIdentifierString |
(BOOL) | - isAdvertisingTrackingEnabledOrATTAuthorized |
- (NSString *) advertisingIdentifierString |
Asks the delegate to return a valid IDFA for the current user.
Use this delegate to pass the IDFA to Braze. Braze does not collect IDFA automatically.
- (BOOL) isAdvertisingTrackingEnabledOrATTAuthorized |
Asks the delegate to return whether advertising tracking is enabled for the current user.
Your delegate implementation should use ATTrackingManager on iOS 14+ and ASIdentifierManager on earlier iOS versions.
An example implementation is available here: https://github.com/Appboy/appboy-ios-sdk/blob/master/Example/Stopwatch/Sources/Utils/IDFADelegate.m