Gal Marom
Gal Marom

Reputation: 8629

Black tab bar appears while pushing SFSafariViewController

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, tenter image description herehere is a glitch in the SFSafariViewController upon presenting. Any ideas?

Upvotes: 3

Views: 147

Answers (1)

Gal Marom
Gal Marom

Reputation: 8629

I've found my problem My UINavigationBar style was set to black UINavigationBar.appearance().barStyle = .black

Upvotes: 1

Related Questions