我正在使用以下代码来呈现 SFSafariViewController
let url = "https://stackoverflow.com"
let safariViewController = SFSafariViewController(url: url)
safariViewController.modalPresentationStyle = .fullScreen
safariViewController.modalTransitionStyle = .crossDissolve
self.navigationController?.present(safariViewController, animated: true)
最佳答案
我发现了我的问题
我的 UINavigationBar 样式设置为黑色
UINavigationBar.appearance().barStyle = .black
关于ios - 按下 SFSafariViewController 时出现黑色标签栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48118321/