what is new in SwiftUI in WWDC 2025

Asked on 06/13/2025

1 search

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

  1. Web Content Integration: SwiftUI now supports embedding web content directly in your apps using WebKit's new declarative WebView component. This is built with modern Swift technologies like observation and strict concurrency, making it easier to bring web content to your apps.

  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 create a rich text editor with customizable styling.

  3. 3D Charts and Spatial Layouts: SwiftUI now supports 3D charts, thanks to RealityKit, and offers new tools for creating 3D layouts. This includes depth alignments and layout-aware rotations, allowing for richer 3D experiences.

  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 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 interact with RealityKit entities from SwiftUI code. This includes new components for presenting SwiftUI popovers directly from RealityKit entities.

  7. Design Updates: A new design system has been introduced, providing a bright and fluid experience consistent across Apple platforms. This includes updates to navigation containers, sidebars, and tab bars.

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