Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

WebKit for SwiftUI: Observations

Is the new Observations API for WebPage not available in Beta 1 as demoed in the WWDC video? I get this error even though Observation is imported.

Answered by Frameworks Engineer in 843806022

Hi, thanks for trying out the new API! The Observations API from the Observable framework is not currently available in Beta 1.

Accepted Answer

Hi, thanks for trying out the new API! The Observations API from the Observable framework is not currently available in Beta 1.

Thank you for confirming. Am I correct in understanding this API is needed for the BackForwardList also? Or how is that used?

WebKit for SwiftUI: Observations
 
 
Q