How i will back previous view without using .navigationBar() in swiftUI?
Declare in properties field top in the View: @Environment(\.presentationMode) var presentationMode finally write the action code: presentationMode.wrappedValue.dismiss()
Read more