An object containing an identifier to be used for serving advertisements, and a flag indicating whether a user has limited ad tracking.
- iOS 6.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 9.0+
To get the advertising identifier, use the following procedure.
shared()method to retrieve a reference to the shared instance of the
Check whether advertising tracking is limited using the
Advertising Tracking Enabled
advertisingproperty to return the advertising identifier. When ad tracking is limited, the value of the advertising identifier is