MIT License Package Releases Build Results Swift Version Supported Platforms

A SwiftUI wrapper around SFSafariViewController


SafariView currently distributed exclusively through the Swift Package Manager.

To add SafariView as a dependency to an existing Swift package, add the following line of code to the dependencies parameter of your Package.swift file:

dependencies: [
    .package(url: "", .upToNextMajor(from: "1.0.0"))

To add SafariView as a dependency to an Xcode Project:

  • Choose FileAdd Packages...
  • Enter package URL and select your release and of choice.

Other distribution mechanisms like CocoaPods or Carthage may be added in the future.

Usage & Documentation

SafariView’s documentation is built with DocC and included in the repository as a DocC archive. The latest version is hosted on GitHub Pages and is available here.

Additional installation instructions are available on the Swift Package Index

Explore the documentation for more details.


SafariView is available under the MIT license. See the LICENSE file for more information.


View Github