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.