struct SubView: View { @Environment(\.presentationMode) var presentationMode var body: some View { Button(action: { presentationMode.wrappedValue.dismiss() }) { Text("戻る") } } }
struct SubView: View { @Environment(\.presentationMode) var presentationMode var body: some View { Button(action: { presentationMode.wrappedValue.dismiss() }) { Text("戻る") } } }