Global Privacy Control (GPC) WebKit API
Apple's WebKit has added an API to enable Global Privacy Control (GPC), an emerging web standard that lets users signal an opt-out of data sharing and cross-context targeted advertising, starting with iOS, iPadOS, visionOS and macOS 27. Developers using WKWebView or WebPage for SwiftUI can expose their own user setting through a new WKWebpagePreferences property, globalPrivacyControlEnabled. Setting it on the preferences returned from the navigation-policy delegate activates navigator.globalPrivacyControl and the Sec-GPC: 1 header for the main frame, subframes and subresources. California's CCPA recognizes GPC as a way to opt out of the sale or sharing of personal information.
AI-written summary, checked against the cited sources. How summaries work