what new api for swiftui was introduced?
Asked on 06/19/2025
1 search
At WWDC, several new APIs for SwiftUI were introduced. Here are some of the highlights:
-
WebView API: A new SwiftUI view for showing web content in your app, powered by WebKit. This allows for embedding web content directly in your app with a declarative webview component designed for SwiftUI. It includes a new Web Page API for programmatically controlling web content. Meet WebKit for SwiftUI
-
Rich Text Editing: New capabilities for rich text editing were introduced, allowing for more advanced text handling within SwiftUI apps. Platforms State of the Union
-
3D Charts: Support for 3D charts was added, enhancing the ability to create visually rich data presentations. Platforms State of the Union
-
RealityKit Integration: New APIs deepen the integration between SwiftUI, RealityKit, and ARKit, making it easier to position and translate content across these frameworks. RealityKit entities now conform to Observable, allowing them to be used directly in SwiftUI views. What’s new in SwiftUI
-
Scrolling Enhancements: New APIs provide fine-grained control over scroll views, including the ability to react to changes in content offsets and sizes, and detect when a view's visibility changes due to scrolling. What’s new in SwiftUI
These updates reflect a significant expansion of SwiftUI's capabilities, making it easier to build complex and interactive user interfaces across Apple's platforms.

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Meet WebKit for SwiftUI
Discover how you can use WebKit to effortlessly integrate web content into your SwiftUI apps. Learn how to load and display web content, communicate with webpages, and more.