How I can make custom overlay over List row that will highlight it on tap. I am using NaviagationLink and I\'ve changed
UITable
I do it this way:
List { ForEach(0..
And ButtonStyle:
ButtonStyle
struct ListButtonStyle: ButtonStyle { func makeBody(configuration: Self.Configuration) -> some View { configuration.label .overlay(configuration.isPressed ? Color("Dim").opacity(0.4) : Color.clear) } }