I only use wkwebview to display webview
It was created using reactjs
Post
Replies
Boosts
Views
Activity
I just put up a web view. Webview was created using reactjs.
The code to manipulate the web view is as follows.
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! It is a web app created using 'reactjs'.