what new swiftui api was introduced?
Asked on 06/19/2025
1 search
At WWDC, Apple introduced several new SwiftUI APIs. Some of the notable additions include:
-
WebView: A new SwiftUI view for displaying web content, powered by WebKit. This allows apps to show URLs and interact with web pages directly within SwiftUI.
-
3D Charts: Support for 3D charts has been added, allowing for more dynamic data visualization.
-
Rich Text Editing: New capabilities for rich text editing have been introduced, enhancing text handling within SwiftUI apps.
-
Scrolling Enhancements: New APIs provide fine-grained control over scroll views, including the ability to detect changes in view visibility due to scrolling and programmatically control scroll positions.
-
RealityKit Integration: Enhanced integration with RealityKit, including observable RealityKit entities and improved coordinate conversion APIs.
-
Custom Containers and Mesh Gradients: New custom container APIs and mesh gradients for more advanced UI designs.
-
Swift 6 Language Mode: Improvements to make it easier to adopt the new Swift 6 language mode, including compile-time data race safety.
For more detailed information, you can refer to the session "What’s new in SwiftUI (20:04)" which covers the expanded features in SwiftUI views.

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.

What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.