Post

Replies

Boosts

Views

Activity

Reply to adding a slideshow to webview app
Thanks for the reply it got rid of the scope and top code wrappers issue. I have a yellow warning now here and also I'm not sure where to put the code to do with separating the view and view controller. Where it says it has 2 errors saying: UIViewRepresentable requires the types some view and Never be equivalent Type WebVuew does not conform to protocol UIViewRepresentable
Mar ’23
Reply to adding a slideshow to webview app
yellow warning: ForEach(0..<imagesCount){ index in 2 errors : struct WebView: UIViewRepresentable { **error is here**     let request: URLRequest     private var webView: WKWebView?     init (request: URLRequest) {         self.webView = WKWebView()         self.request = request
Mar ’23