I can navigate to next screen by using NavigationButton (push) or present with PresentationButton (present) but i want to push when i tap on Buttton()
Button
To tap on button and navigate to next screen,You can use NavigationLink like below
NavigationView{ NavigationLink(destination: SecondView()) { Text("Login") .padding(.all, 5) .frame(minWidth: 0, maxWidth: .infinity,maxHeight: 45, alignment: .center) .foregroundColor(Color.white) } }