Post

Replies

Boosts

Views

Activity

Reply to How to hide an arrow inside List with NavigationLink?
import SwiftUI struct NavigationWithoutDisclosureView(): View { var body: some View { NavigationStack { List(0..<100) { i in Text("Select \(i)") .background(NavigationLink(value: i) { }) } .navigationDestination(for: Int.self) { selection in Text("You selected \(selection)") } } } } #Preview { NavigationWithoutDisclosureView() }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’25