SwiftUI view content layout unexpectedly pop / jumps on appear?
Providing a section with a header text fixes the issue, even if the text is blank. Although this will leave a gap between the navigation title and first row.
Works with both Forms & Lists styled as grouped.
struct TestView: View {
var body: some View {
Form {
Section(header: Text("")) {
Text("Test View")
}
}
.nvigationBarTitle("Test View")
}
}