👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. cwc.to/youtubeoffer
Ah, sorry i know what you mean but everyone searches for "SwiftUI WebView" and so that's what I have to optimize the title for. I hope they make it easier for us in the future!
It turns out it's because I placed the WebView() inside a ScrollView. Once I took it out, it ran. But I'm getting a warning that I didn't set parameter permission in WebPrivacy. But this just might be a bug of Apple's.
I use the platform called Plutio to run my photography business. It handles my invoices, etc. The macOS and iOS app is just the web app inside some sort of WebView window... so I wouldn't be surprised this is what they did. @AdrienVillez
@@CodeWithChris Thanks Chris! I am trying to find an easy way to use some existed APIs built in PHP (to get data from mysql DBs), but as I beginner in swift, I am still learning the basics! :-)
Hi there, we've got a community of learners over at cwc.to/codecrew. I highly recommend joining and reaching out for assistance, especially for any concepts you're finding challenging to grasp. - Iñaki
This is a good start, but none of the JavaScript UI will work like alerts and confirmations. If you need support for these, the WKUIDelegate protocol will need to be implemented.
👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. cwc.to/youtubeoffer
Got excited for a moment there
Ah, sorry i know what you mean but everyone searches for "SwiftUI WebView" and so that's what I have to optimize the title for. I hope they make it easier for us in the future!
Oh totally all good on the title! I hope so, too!
App crashes, asks for entitlements. Any clue? thanks
Using your example, I'm getting a "Failed to resolve host network app id" error.
It turns out it's because I placed the WebView() inside a ScrollView. Once I took it out, it ran. But I'm getting a warning that I didn't set parameter permission in WebPrivacy. But this just might be a bug of Apple's.
Can I upload webview app in app store?
Maybe someone else with that experience can comment but my feeling is if the webview is a significant part of the app, then it won't pass.
@@CodeWithChris okay
I use the platform called Plutio to run my photography business. It handles my invoices, etc. The macOS and iOS app is just the web app inside some sort of WebView window... so I wouldn't be surprised this is what they did.
@AdrienVillez
@@CodeWithChris thank you for give me a clarification brother
Can this also used to get data from API which returns a json?
No, this only shows how to add a webview to a SwiftUI view and load a web page. You’ll need to use `URLSession` instead. - Iñaki
@@CodeWithChris Thanks Chris! I am trying to find an easy way to use some existed APIs built in PHP (to get data from mysql DBs), but as I beginner in swift, I am still learning the basics! :-)
How to use WKWebView Delegate methods?
Hi there, we've got a community of learners over at cwc.to/codecrew. I highly recommend joining and reaching out for assistance, especially for any concepts you're finding challenging to grasp. - Iñaki
This is a good start, but none of the JavaScript UI will work like alerts and confirmations. If you need support for these, the WKUIDelegate protocol will need to be implemented.
Ah! Thank you for that reminder. I didn't know that!
I Have an error on "WebView(url: URL.....)). can someone help me?
Hopefully we get some new SwiftUI features come WWDC.
I'm hoping too.. it's soon!