Twitch embed in Swift WKWebView not working

I can’t get an embed to work in SwiftUI using a WKWebView. I don’t want to use my own website to redirect, I want to use localhost, but Apple doesn’t allow for the parent parameter to be filled in with http://localhost for… reasons here. That thread died, can I get a workaround or a fix on this?


may be here you get more information:

The smae fix for android should apply: just load the URL instead of doing HTML+iFrame