This is how I do it.
Just match UITableView.appearance().separatorColor and listRowBackground.
struct ContentView: View {
init(){
UITableView.appearance().separatorColor = UIColor.white
}
struct RowImage: View {
var id: Int
var body: some View {
VStack{
Text("TEST\(id)")
}
}
}
var body: some View {
List (0 ..< 100,id:\.self) { i in
RowImage(id: i)
.listRowBackground(Color.white)
}
}