While creating @IBOutlet for WKWebView you might have come across an error message in Xcode
![Cannot find type 'WKWebView' in scope](https://www.amarendrasingh.com/wp-content/uploads/2021/03/Screenshot-2021-03-22-at-1.00.37-PM-1024x432.png)
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 !!!