What are the new webview about

Asked on 06/12/2025

1 search

The new WebView in SwiftUI is a powerful addition for embedding web content directly into your app. It is part of the new WebKit APIs designed specifically for SwiftUI, allowing developers to easily display web content by simply providing a URL. The WebView is powered by WebKit and offers a range of features for customization and interaction with web pages.

Key features of the new WebView include:

  • Simple Integration: You can effortlessly display web content by initializing a WebView with a URL, which will automatically load and display the content.
  • Rich Interaction: The new WebPage API allows for programmatic navigation and access to page properties, enabling rich interaction with web content.
  • Customization: You can customize the browsing experience using various view modifiers, such as controlling scroll behavior and enabling features like "Find in Page."
  • Cross-Platform Support: The WebView works across all platforms supported by WebKit, including iOS, iPadOS, macOS, and VisionOS.
  • Advanced Features: Features like Look to Scroll on VisionOS and the ability to handle custom URL schemes enhance the user experience.

For more detailed information, you can refer to the session Meet WebKit for SwiftUI (00:01:54), which covers how to load and display web content using the new WebView API.