What's New



What's Changed

Full Changelog: 3.1.0...4.0.0


MIT License Release Build Status Swift Version Supported Platfoms

SwiftUI wrappers for SFSafariViewController and ASWebAuthenticationSession


SafariUI currently distributed exclusively through the Swift Package Manager.

To add SafariUI 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: "https://github.com/vsanthanam/SafariUI.git", .upToNextMajor(from: "4.0.0"))

To add SafariUI as a dependency to an Xcode Project:

  • Choose FileAdd Packages...
  • Enter package URL https://github.com/vsanthanam/SafariUI.git and select your release and of choice.

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

Note: The package contains multiple modules. You can depend on the whole library by importing the SwiftUI module, or you can depend on individual modules like SafariView or WebAuthentication as needed.

Usage & Documentation

SafariUI'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.


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


  • Swift Tools 5.10.0
View More Packages from this Author


Last updated: Mon Apr 15 2024 01:43:23 GMT-0900 (Hawaii-Aleutian Daylight Time)