Reputation: 8629
I'm using the following code to present an SFSafariViewController
let url = "https://stackoverflow.com"
let safariViewController = SFSafariViewController(url: url)
safariViewController.modalPresentationStyle = .fullScreen
safariViewController.modalTransitionStyle = .crossDissolve
self.navigationController?.present(safariViewController, animated: true)
For some reason, there is a glitch in the SFSafariViewController upon presenting. Any ideas?
Upvotes: 3
Views: 147
Reputation: 8629
I've found my problem
My UINavigationBar style was set to black
UINavigationBar.appearance().barStyle = .black
Upvotes: 1