Skip to content

Commit 1044301

Browse files
committed
Update README
1 parent c9ec45d commit 1044301

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ A better way to present a SFSafariViewController or start a ASWebAuthenticationS
2929

3030
<img src="/Docs/Images/BetterSafariView-Cover.png" width="375">
3131

32+
## Navigate
33+
- [Motivation](#motivation)
34+
- [Usage](#usage)
35+
- [SafariView](#safariview)
36+
- [WebAuthenticationSession](#webauthenticationsession)
37+
- [Known Issues](#known-issues)
38+
- [Requirements](#requirements)
39+
- [Installation](#installation)
40+
- [Swift Package Manager](#swift-package-manager)
41+
- [Xcode](#xcode)
42+
- [Demo](#demo)
43+
- [License](#license)
44+
3245
## Motivation
3346
<img src="/Docs/Images/BetterSafariView-Comparison.svg">
3447

@@ -125,6 +138,10 @@ struct ContentView: View {
125138
## Known Issues
126139
- In `.webAuthenticationSession(item:content:)` modifier, the functionality that replaces a session on the `item`'s identity change is not implemented, as there is no non-hacky way to be notified when the session's dismissal animation is completed.
127140

141+
## Requirements
142+
- Swift 5.1+
143+
- iOS 13.0+
144+
128145
## Installation
129146
### Swift Package Manager
130147
Add the following line to the `dependencies` in your [`Package.swift`](https://developer.apple.com/documentation/swift_packages/package) file:
@@ -172,5 +189,7 @@ For more details, see [Adding Package Dependencies to Your App](https://develope
172189

173190
You can compare the behavior of BetterSafariView with the other ways above in the demo project. Check out the demo app by opening BetterSafariView.xcworkspace.
174191

192+
**NOTE:** This demo project is designed for iOS 14.0+, though the package is compatible with iOS 13.0+.
193+
175194
## License
176195
BetterSafariView is released under the MIT license. See [LICENSE](/LICENSE) for details.

0 commit comments

Comments
 (0)