I'm trying to add background color to the bottom safe area with list view. I know how to add background color to the list cell, but it doesn't apply to the safe area. Is there any possible way?
Note: I did try ZStack and .edgesIgnoringSafeArea, I need to use SwiftUI 2.0 List View, not LazyVStack or SwiftUI 1.0 (iOS 13) List View
List {
ForEach(0..<100) { index in
Text(String(index))
.listRowBackground(Color.red.edgesIgnoringSafeArea(.all))
}
}
