Reading time: 1 min
This recipe shows how to manage status bar in SwiftUI - set background color and material, as well as how to show and hide it. The end result looks like this:
You can change the status bar's color and material by inserting a small view right behind it. Normally, all views are positioned belo...
Navigation bar styling in SwiftUI
Reading time: 2 min
This tutorial shows how to style a navigation bar in SwiftUI - changing its background color, text color, as well as styling the status bar. The end result looks like this:
This component is available as a Swift Package in this repo.
The gist of the work is in using a ViewModifier...