Braze iOS SDK
Documentation for the Braze iOS SDK
 All Classes Functions Properties
Instance Methods | List of all members
<ABKIDFADelegate> Protocol Referenceabstract

Instance Methods

(NSString *) - advertisingIdentifierString
(BOOL) - isAdvertisingTrackingEnabledOrATTAuthorized

Method Documentation

- (NSString *) advertisingIdentifierString

The result of [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString].

The current IDFA for the user.
- (BOOL) isAdvertisingTrackingEnabledOrATTAuthorized

With iOS 14, the delegate should first check ATTrackingManager on iOS 14 and then check ASIdentifierManager on earlier iOS versions. An example implementation is included with Stopwatch here:

YES if advertising tracking is enabled for iOS 14 and earlier or if AppTrackingTransparency (ATT) is authorized with iOS 14+, NO otherwise