Share this post
Control Whether SwiftUI List Row Separators Are Visible
www.typesafely.co.uk
Control Whether SwiftUI List Row Separators Are Visible
Daily Coding Tip 252
Feb 21, 2023
It’s a lot easier to control whether there is a divider between each row in a SwiftUI List
than it used to be.
I will be using the .listRowSeparator()
modifier.
Here’s how it should look: