Native web content inside your SwiftUI app.
Guides developers in adding embedded web content, page-state observation, JavaScript interaction, and navigation control to SwiftUI apps.
When to use it
Use when an app needs an integrated web surface, app-owned HTML, JavaScript-backed interaction, or custom navigation policies.
It changes how the agent implements embedded web content in SwiftUI apps, favoring native WebView and WebPage APIs when they cover the feature.
What you provide
Uses the SwiftUI framework to implement the embedded web views.
Uses the WebKit framework for the native WebView and WebPage APIs.
The native WebKit-for-SwiftUI APIs were introduced in iOS 26 for apps targeting iOS.
The native WebKit-for-SwiftUI APIs were introduced in iPadOS 26 for apps targeting iPadOS.
No additional actions listed.