what's new in swiftui in wwdc 25

Asked on 06/16/2025

1 search

At WWDC 2025, several exciting updates were introduced for SwiftUI. Here are some of the key highlights:

  1. Web Content Integration: SwiftUI now supports embedding web content directly in your app using new WebKit APIs, including a declarative webview component and a Web Page API for programmatically controlling web content. These are built with modern Swift technologies like observation and strict concurrency.

  2. Rich Text Editing: The SwiftUI text editor now supports rich text editing. By changing the binding of your text editor's text from a string to an attributed string, you can enable rich text editing with customizable styling.

  3. 3D Charts: Swift Charts now supports 3D, allowing for direct interaction with the camera to rotate and zoom in on charts. This feature is also available in spatial environments on visionOS.

  4. Performance Improvements: There are significant performance enhancements, especially in scrolling and list handling. Incremental changes like inserting new items are up to 16 times faster, and larger lists will see even bigger gains.

  5. Widgets and Live Activities: Widgets are now available on Vision OS and CarPlay, with new APIs for relevance on watchOS and live activities on CarPlay.

  6. RealityKit Integration: SwiftUI has improved its integration with RealityKit, making it easier to observe changes in SwiftUI views and present SwiftUI popovers directly from RealityKit entities.

  7. Design Updates: A new design system enables a bright and fluid experience across Apple platforms, with updated navigation containers and a glassy appearance for sidebars on iPad and macOS.

For more detailed information, you can check out the session What’s new in SwiftUI (19:12) and the Platforms State of the Union (41:37).