Dear All
Hope some one can help me...
Xcode Shows me 4 Elements to fix it...
I will that the user tapped on one Card and goes to that Category.
What is my fails ? I know that I have struggle whit the NavigationLink...
Hope you can help me out please . Have a nice Weekend....
import SwiftUI
struct ContentView: View {
func Images(_ images : Images){}
var columns = [GridItem(.adaptive(minimum: 170), spacing: 20)]
var body: some View {
NavigationView {
ScrollView {
LazyVGrid(columns: columns, spacing: 10) {
ForEach(ImagesList, id: .id) {images in
ImageCard(images: images)
NavigationLink {LandCard()} label: { ImageCard() })
}
}
.padding(10)
}
.navigationTitle(Text("Bilder"))
}
.navigationViewStyle(StackNavigationViewStyle())
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}