Thanks so much, your first works great for me...
But, how can I do the next step ? When I tapped on Landschaften that will be shows me Landschaften... That's nice.
How can I do it for Maritimes? When I Tapped on Maritimes then I will that shows me Maritimes images...
Can I drop more NavigationLinks in ContentView ?
Have many Thanks ;)
import SwiftUI
struct ContentView: View {
var columns = [GridItem(.adaptive(minimum: 160), spacing: 5)]
var body: some View {
NavigationView {
ScrollView {
LazyVGrid(columns: columns) {
ForEach(ImagesList, id: \.id) { images in
NavigationLink {
LandView()
} label: {
ImageCard(images: images)
}
}
}
.padding(10)
}
.navigationBarTitle(Text("Übersicht"))
}
.navigationViewStyle(StackNavigationViewStyle())
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: