Demo Here How do i stop this reset and let the screen stay as it is even if i pull down the notifications screen?
Below code is what i use to display the html data thats coming from an API.i just pass the URL to this struct and this struct will take care of displaying the data.
struct URLView : UIViewRepresentable
{
let request: URLRequest
func makeUIView(context: Context) -> WKWebView { return WKWebView()
}
func updateUIView(_ uiView: WKWebView, context: Context) { uiView.load(request)
}
}