|
ViewController.swift easyWebBrowswerProject4 Created by on 12/21/22. import UIKit import WebKit """ class ViewController: UIViewController, WKNavigationDelegate {
} """ I keep getting an error that says this: """ Thread 1: Completion handler passed to -[easyWebBrowswerProject4.ViewController webView:decidePolicyForNavigationAction:decisionHandler:] was called more than once """ The thing is if I delete and rewrite that last webView function, the project runs just fine but just for one run, and then throws the same error again. What is going on? |
|
You need to put a |
|
|
|
just adding the return statement did not solve my issue please help, after adding it still crashes and goes into main.m autoreleasepool |
|
GO FURTHER, FASTER Unleash your full potential as a Swift developer with the all-new Swift Career Accelerator: the most comprehensive, career-transforming learning resource ever created for iOS development. Whether you’re just starting out, looking to land your first job, or aiming to become a lead developer, this program offers everything you need to level up – from mastering Swift’s latest features to conquering interview questions and building robust portfolios.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.