I understand that the code below changes the SFSafariViewController's tint color, but how do you change the background color of the navbar and tabBar?
SFSafariViewController *safariViewController = [[SFSafariViewController alloc] initWithURL:webpageUrl];
[safariViewController.view setTintColor:[UIColor blueColor]];
To clarify I want to change the semi-transparent white color to dark green?
Any help on this matter would be greatly appreciated.
Thanks!
SFSafariViewController
, as of iOS 10 SDK, has the preferredBarTintColor
and preferredControlTintColor
properties to control the tint color of bar items and the bars themselves, respectively.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With