Legacy customizations
Customize appearance information directly on the toolbar object.
Overview
In iOS 13 and later, customize your toolbar using the standardAppearance and compactAppearance properties. You may continue to use these legacy accessors to customize your toolbar’s appearance directly, but you must update the appearance for different bar configurations yourself.
Topics
Setting the bar’s style
Configuring bar button items
Changing the background
barTintColorbackgroundImage(forToolbarPosition:barMetrics:)setBackgroundImage(_:forToolbarPosition:barMetrics:)