Instance Property


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


var isAdvertisingTrackingEnabled: Bool { get }


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()

An instance that clears the current advertising identifier, forcing the creation of a new advertising identifier the next time it is needed.