Instance Property

preferredBarTintColor

The color to tint the background of the navigation bar and the toolbar.

Declaration

var preferredBarTintColor: UIColor? { get set }

Discussion

This color preference is ignored if the view controller is in Private Browsing mode or displaying an antiphishing warning. After the view controller is presented, changes made are not reflected.

See Also

Configuring the View Controller

var configuration: SFSafariViewController.Configuration

A copy of the Safari view controller’s initialized configuration.

var preferredControlTintColor: UIColor?

The color to tint the control buttons on the navigation bar and the toolbar.