Change in Form UI in iOS 14 for SwiftUI
You can't do this with Forms, List only.
It's the new default style but you could change your Form
to a List
and apply the listStyle
modifier in order to get the old look:
List {
//...
}
.listStyle(GroupedListStyle())
Before:
After: