Swift UI detail remove
问题 I have a SwiftUI list which presents a detail view/pushes to the navigation when a cell is tapped: import SwiftUI struct DevicesInRangeList: View { @ObservedObject var central = Central() var body: some View { NavigationView { List(central.peripheralsInRange) { peripheral in NavigationLink(destination: DeviceView(peripheral: peripheral).onAppear { self.central.connect(peripheral: peripheral) }.onDisappear { self.central.disconnect(peripheral: peripheral) }) { DeviceRow(deviceID: peripheral