SwiftUI Web View Sheet
A SwiftUI ViewModifier that allows modal sheet presentation of a WebView.
Usage
contentView.webViewSheet(
: $isShowingWebview,
isPresented: URL(string: "https://swiftstarterkits.com"),
url: "Swift Starter Kits"
title)
Features
- Supports light and dark device color schemes by default.
- Supports font scaling via Dynamic Type.
- Supports offline usage in SwiftUI Previews for easy debugging and testing.