I am new to SwiftUI (like most people) and trying to figure out how to remove some whitespace above a List that I embedded in a NavigationView
In this image, you can
My solution for this problem was the same as suggested by @Genki and @Frankenstein.
I applied two modifiers to the inner list (NOT the NavigationView) to get rid of the spacing:
.navigationBarTitle("", displayMode: .automatic)
.navigationBarHidden(true)
On the outer NavigationView, then applied .navigationBarTitle("TITLE") to set the title.