While creating @IBOutlet for WKWebView you might have come across an error message in Xcode
This can be simply resolved by importing WebKit.
The resulting code will look like
// // ViewController.swift // TestFrame // // Created by Amarendra Singh on 22/03/21. // import UIKit import WebKit class ViewController: UIViewController { @IBOutlet weak var webView: WKWebView! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. } }
Cheers !!!