Post

Replies

Boosts

Views

Activity

Reply to get current url of wkwebview (Swift iOS)
I think this may work - extension CCVAddCardViewController: WKUIDelegate, WKNavigationDelegate {   func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {     if let urlStr = navigationAction.request.url?.absoluteString {       print(urlStr)     }     decisionHandler(.allow)   } }
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’22
Reply to Xcode Simulator Crash with Rosetta error after Ventura update
I'm facing the same problem. Has anyone fix this?
Replies
Boosts
Views
Activity
May ’23
Reply to Xcode setting ENABLE_BITCODE
For me, If I try to run this on a simulator project builds and compiles fine but for devices, it shows this error. IDK what's causing this for physical devices!!
Replies
Boosts
Views
Activity
Feb ’23
Reply to Xcode 14.0 keep crashing by clicking cmd+z after editing a storyboard
This issue repeatedly happing on Xcode 14.0.1. I can not rollback to 13.4 as it seems Ventura doesn't support that version. Is there any solution for this issue?
Replies
Boosts
Views
Activity
Nov ’22
Reply to get current url of wkwebview (Swift iOS)
I think this may work - extension CCVAddCardViewController: WKUIDelegate, WKNavigationDelegate {   func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {     if let urlStr = navigationAction.request.url?.absoluteString {       print(urlStr)     }     decisionHandler(.allow)   } }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22