# Talking to JavaScript from a SwiftUI WebView (and the iOS 26 Catch)
Ilyas Hallak 3 min read
How Swift and JavaScript communicate in a WebView, and why the native iOS 26 WebView drops the message handler channel and forces you to poll.
How Swift and JavaScript communicate in a WebView, and why the native iOS 26 WebView drops the message handler channel and forces you to poll.
How a tiny router lets my Readeck reader run the new iOS 26 SwiftUI WebView on new devices and the proven WKWebView everywhere else, with a switch for the user as a bonus.