WebKit WKScreenTimeConfigurationObserver Crash in iOS26.2

Our app uses WKWebView to load web pages, and we're encountering a crash with WKScreenTimeConfigurationObserver on iOS 26.1 and above. However, there are no WKScreenTimeConfigurationObserver-related code calls in our project.

The crash log is as follows: NSInternalInconsistencyException Cannot update for observer <WKScreenTimeConfigurationObserver 0x13be821e0> for the key path "configuration.enforcesChildRestrictions" from <STScreenTimeConfigurationObserver 0x13be808e0>, most likely because the value for the key "configuration" has changed without an appropriate KVO notification being sent. Check the KVO compliance of the STScreenTimeConfigurationObserver class.

We want to confirm if this is a system bug.

How can we fix it?

Hey @feng123!

I believe Apple has recently introduced a new API for 3rd party browser engine vendors, to conform to websites blocked via Screen Time.

Maybe this is related to the STScreenTimeConfigurationObserver?

More info: https://developer.apple.com/documentation/browserenginekit/bewebcontentfilter

We're also seeing these crashes in our apps. However, we can't even download the crash logs right now because Xcode is reporting an error.

WebKit WKScreenTimeConfigurationObserver Crash in iOS26.2
 
 
Q