Instance Property

advertisingIdentifier

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

Declaration

@property(nonatomic, readonly) NSUUID *advertisingIdentifier;

Discussion

Unlike the identifierForVendor property of the UIDevice, the same value is returned to all vendors. This identifier may change. For example, if the user erases the device. For this reason you should not cache it.

See Also

Getting the Advertising Identifier

advertisingTrackingEnabled

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

- clearAdvertisingIdentifier

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