Open Dave181295 opened 1 year ago
Had to do this:
static func safariView(for url: URL) -> SafariView {
return SafariView(
url: url,
configuration: SafariView.Configuration(
entersReaderIfAvailable: true,
barCollapsingEnabled: true
)
)
.preferredControlTintColor(UIColor(named: "AccentColor"))
}
Also, look here: https://github.com/stleamist/BetterSafariView/issues/16
Thanks for the lib, when passing color scheme (light/dark mode)
The safariView colors wont update even when doing a new fresh launch