I have used webview to load url but it is not loaded.
i have tried the same with wkwebview but couldn't load url.
I have done following
LOG:
dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
dnssd_clientstub ConnectToServer: connect()-> No of tries: 3 dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:11 Err:-1 Errno:1 Operation not permitted
nw_resolver_create_dns_service_locked DNSServiceCreateConnection failed: ServiceNotRunning(-65563)
-CODE
@IBOutlet weak var webvw: WebView!
override func viewDidAppear() {
super.viewDidAppear()
guard let url = URL(string: "https://www.google.co.in") else { return }
let request = URLRequest(url: url)
webvw.uiDelegate = self
webvw.frameLoadDelegate = self
webvw.mainFrame.load(request)
}
Check capabilities > Incoming and outgoing connections
Select target
done
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With