I\'ve got a basic view with a button using SwiftUI and I\'m trying to present a new screen/view when the button is tapped. How do I do this? Am I suppose to create a delegat
I think this is the easiest and clear way. Use fullScreenCover after UI tool.
Button(action: { //code }){ Text("Send") }.fullScreenCover(isPresented: self.$model.goToOtherView, content: { OtherView() })