webpage
Asked on 06/12/2025
1 search
The "Webpage" is a new observable class introduced by Apple to represent web content, designed to work seamlessly with Swift and SwiftUI. It allows developers to load, control, and communicate with web content. You can use it to load remote URLs, HTML content, and various data types directly. When combined with WebView, it enables the creation of rich web content experiences in SwiftUI apps. For more details, you can refer to the session Meet WebKit for SwiftUI (00:03:56).

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.

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.

What’s new for the spatial web
Discover the latest spatial features for the web on visionOS 26. We’ll cover how to display inline 3D models with the brand new HTML model element. And we’ll share powerful features, including model lighting, interactions, and animations. Learn how to embed newly supported immersive media on your web site, such as 360-degree video and Apple Immersive Video. And get a sneak peek at adding a custom environment to your web pages.