SwiftUI WebView Tutorial

preview_player
Показать описание
Learn how to use a WebView in your SwiftUI project to display a webpage!

In this SwiftUI WebView tutorial, we’ll cover:
A basic usage example
How to use UIKit components in a SwiftUI project
How to dynamically load a url

Download sample code for all SwiftUI components here:

Article version of this tutorial:

For tutorials of other SwiftUI components, check out our playlist here:
Рекомендации по теме
Комментарии
Автор

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.

jyunderwood
Автор

Hopefully we get some new SwiftUI features come WWDC.

ericdraven
Автор

Can this also used to get data from API which returns a json?

pmanolak
Автор

How to use WKWebView Delegate methods?

Rishi-svns
Автор

Can I upload webview app in app store?

immanuelkolwin