Documentation

SwiftUI Safari View Sheet

A SwiftUI ViewModifier that simplifies modal sheet presentation of SafariView.

SafariViewSheet with a light color scheme. A SwiftUI Starter Kit Component.
SafariViewSheet with a light color scheme.
SafariViewSheet with a dark color scheme. A SwiftUI Starter Kit Component.
SafariViewSheet with a dark color scheme.

Usage

contentView
    .safariViewSheet(
        isPresented: $isPresented,
        url: URL(string: "https://swiftstarterkits.com")!
    )

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.

Notes