Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Use .toolbarColorScheme To Customise a Navigation Bar in iOS 16

Use .toolbarColorScheme To Customise a Navigation Bar in iOS 16

Daily Coding Tip 145

Millie Sturgeon's avatar
Millie Sturgeon
Aug 03, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Use .toolbarColorScheme To Customise a Navigation Bar in iOS 16
Share
person submerged on body of water holding sparkler
Photo by Kristopher Roller on Unsplash

In my recent Daily Coding Tip, I gave an example of how to use .toolbarBackground to change the appearance of the navigation bar. This .toolbarColorScheme modifier works in a similar way, overriding the user’s colour scheme in order to show a dark background on the navigation bar when content scrolls behind it.

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share