I had another project that was thinking about the project, but then I just created a WebView project and there was also such an error. (the main project works fine, but it will crash when you switch to the controller from the WebView) pls help will be very grateful!
import UIKit import WebKit class ViewController: UIViewController { @IBOutlet weak var webbView: WKWebView! override func viewDidLoad() { super.viewDidLoad() let url1 = URL(string: "https://www.mail.ru/") webbView.load(URLRequest(url: url1!)) } }