SHORT QUESTIONS

How i will hide separator line from list in SwiftUI?

var body: some View { VStack { List(values) { item in DesignView(item: item) .listRowSeparator(.hidden) } .listStyle(.plain) } }

J
Joynal Abedin
4
    var body: some View {
        VStack {
            List(values) { item in
                DesignView(item: item)
                    .listRowSeparator(.hidden)
            }
            .listStyle(.plain)
        }
    }
J

Written by Joynal Abedin

Passionate about technology, code, and sharing knowledge.

0 Comments

Leave a Comment