I have the following structure, more or less:
ZStack {
NavigationView {
List {
Section(header: Text("1")
.padding(.top, 20)
footer: Text("2")
.padding(.bottom, 20)
},
...
}
.listStyle(GroupedListStyle())
}
}
For iOS 14 and earlier it was working properly, but in Xcode 13 beta 4/5, when running iOS 15, the padding is much bigger, as if there was a default padding added. I need to replace my values (20 in this example) with 0 in order to match the design.
Has anyone experienced such issue? Any solutions?