// // ContentView.swift // Testapp // // Created by Cairocoders // import SwiftUI struct SecondView: View { var body: some View{ Text("This is a second view details") } } struct ContentView: View { var body: some View { NavigationView{ VStack { NavigationLink(destination: SecondView()) { Text("Show Details View") } .navigationTitle("Navigation") } } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }
article
Friday, May 7, 2021
SwiftUI How to let users pick options from a menu
SwiftUI How to let users pick options from a menu