An issue where content using wkwebview appears small intermittently

Please give me some advice

I would say Because. Could you add more information about what your code do. What is the html used, …?

I just put up a web view! It is a web app created using 'reactjs'.

It's a code for the process of floating a web view

override func viewDidLoad() {     super.viewDidLoad()     guard let siteUrl = self.siteUrl else {       self.dismiss(animated: true, completion: nil)       return     }     let url = URL(string: siteUrl)     var request = URLRequest(url: url!)

    self.webView.configuration.preferences.javaScriptEnabled = true     self.webView.scrollView.delegate = self     self.webView.allowsLinkPreview = false     self.webView.load(request) }

I just put up a web view. Webview was created using reactjs. The code to manipulate the web view is as follows.

I only use wkwebview to display webview It was created using reactjs

An issue where content using wkwebview appears small intermittently
 
 
Q