Access the advertising identifier and a flag that indicates whether the user has chosen to limit ad tracking.
- iOS 6.0+
- macOS 10.14+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The Ad Support framework provides apps with access to an identifier that can be used only for serving advertisements, as well as a flag which indicates whether a user has limited ad tracking. Accessing the advertising identifier requires apps to read and honor the opt-out flag.