SwiftUI List separator styling should offer parity with UIKit

Number:rdar://FB7802824 Date Originated:27/06/2020
Status:Open Resolved:
Product:SwiftUI Framework Product Version:
Classification:Suggestion Reproducible:
UIKit offers much more control over the styling of list separators than SwiftUI does. While ListStyles offer some degree of control, one cannot generate custom ListStyles at the moment, limiting customisability to the first party styles.

Some behaviour that currently cannot be implemented in SwiftUI:
- The ability to hide separators
- The ability to change separator colours
- The ability to align the leading and trailing edges of separators to custom anchors/alignments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!