Change tintcolor of SFSafariViewController?
Some news from iOS 10: now we have two properties to control the overall looks of the SFSafariViewController
source: link
The only downside is, of course, it's not available for older versions.
if #available(iOS 10.0, *) {
safariVC.preferredBarTintColor = .black
safariVC.preferredControlTintColor = .white
} else {
safariVC.view.tintColor = .someColor
}
It's a property of the view, safariVC.view.tintColor = UIColor.someColor()