Why does using Nsurl request keeps telling me to rename to “init(url)”

前端 未结 3 1778
走了就别回头了
走了就别回头了 2021-01-16 22:33

Also trying to add the ability to detect a video and download it to the application in short a web-based app used for download any kind of video and has the ability to store

3条回答
  •  旧巷少年郎
    2021-01-16 22:51

    You need to use like this in swift

    if let url = URL(string: "https://www.google.com"){
        let requestObj = URLRequest(url: url)
        Webview.loadRequest(requestObj)
    }
    

提交回复
热议问题