gpt4 book ai didi

ios - SWIFT:为什么我无法在 UIWebView 中加载当前 URL?

转载 作者:IT王子 更新时间:2023-10-29 05:47:53 25 4
gpt4 key购买 nike

<分区>

我需要将当前 URL 加载到 webview 中,这就是我尝试获取它的方式,但它给了我这个错误:“无法转换表达式类型‘ST7??’输入“字符串”

这是代码

 var currentURL : NSString = webView.request?.URL.absoluteString!

这是怎么回事?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com