Instance Property

isAdvertisingTrackingEnabled

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

Declaration

var isAdvertisingTrackingEnabled: Bool { get }

Discussion

Check the value of this property before performing any advertising tracking. If the value is false, 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

var advertisingIdentifier: UUID

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

func 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