What problem does it solve?
This Skill enables embedding and managing web content inside SwiftUI apps by exposing native WebKit-based controls through WebView and WebPage, allowing app-owned HTML, JavaScript interaction, and navigation policy customization within iOS 26+ SwiftUI surfaces.
Core Features & Use Cases
- Embedding app-owned web content with WebView and WebPage to drive navigation and state.
- JavaScript integration via callJavaScript for dynamic page interaction.
- Local content and custom URL schemes via WebPage.Configuration and URLSchemeHandler for offline or bundled assets.
- Observing page state (title, url, isLoading, progress) and handling navigation events to coordinate in-app flows.
- Migration-friendly guidance for moving from WKWebView wrappers to WebView/WebPage in SwiftUI apps.
Quick Start
Create a WebView (or WebPage) and load your URL to display embedded web content in a SwiftUI screen.