Instance Property


A Boolean value that indicates whether the user has limited ad tracking.


@property(nonatomic, readonly, getter=isAdvertisingTrackingEnabled) BOOL advertisingTrackingEnabled;


Check the value of this property before performing any advertising tracking. If the value is NO, use the advertising identifier only for the following purposes: frequency capping, attribution, conversion events, estimating the number of unique users, advertising fraud detection, and debugging.

See Also

Getting the Advertising Identifier


An alphanumeric string unique to each device, used only for serving advertisements.

- clearAdvertisingIdentifier

Clears the app's current advertising identifier, forcing the creation of a new advertising identifier the next time you need one.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software