v2.3.1 (2020-01-20)
- Fixed an issue where the
SafariView
is not presented on the modal sheets (#9). Thanks @boherna!
v2.3.0 (2021-01-19)
- Added
WebAuthenticationSession
support for macOS and watchOS.
v2.2.2 (2020-09-19)
- Fixed an issue where the changes of
SafariView
andWebAuthenticationSession
is not applied after an initialization.
v2.2.1 (2020-08-26)
- Fixed an issue where the package could not be compiled on Swift 5.2 or earlier.
v2.2.0 (2020-08-26)
SafariView
now conforms toView
protocol, so it can be used even in the.sheet()
or the.fullScreenCover()
modifiers for the advanced usage.- Added
accentColor(_:)
modifier toSafariView
as a convenience method ofpreferredControlAccentColor(_:)
. - Added a new initializer of
WebAuthenticationSession
where theonCompletion
closure receives aResult
instance, which contains either aURL
or anError
.
- Fixed typos on the markup.
v2.1.0 (2020-08-24)
- Coordinators are now in charge of view controller presentations, following the structure of VisualEffects.
v2.0.1 (2020-08-22)
- Fixed typos on the markup.
v2.0.0 (2020-08-16)
- You can now authenticate a user through a web authentication session by using
WebAuthenticationSession
. - With the new
SafariView
representation and its modifiers, configurations and properties onSFSafariViewController
also could be used. - Using
safariView(isPresented:onDismiss:content:)
modifier, actions could be performed when the Safari view dismisses. - Using
safariView(item:onDismiss:content:)
modifier, the Safari view could be replaced on theitem
's identity change.
- The package has been renamed to BetterSafariView from FullScreenSafariView.
safariView(isPresented:content:)
modifier now gets a closure returning aSafariView
representation instead of aURL
instance.
- Fixed an issue where the dismissed Safari view is presented and dismissed again on iOS 14.
- Fixed an issue where page loading and parallel push animation are not working when a modifier is attached to the view in a
List
. - Improved stability during the SwiftUI view update process.
v1.0.0 (2020-05-18)
- Initial Release