I have been developing a SwiftUI app for about a year now. From the early days the UI had EditButtons working OK. These stopped working when Xcode 12 came along. I reported this to the Feedback assistant, but have a had no reply. The issue is still there in the latest release candidate 12.2 beta 4. The code below is the test app I sent to Apple. It works if you remove .navigationViewStyle (in this test app, but not in my app). If anyone thinks I have made a mistake and that the issue is down to me, please let me know, otherwise if anyone from Apple is reading this please fix it. It seems rather fundamental to me.
Code Block swift import SwiftUI struct ContentView: View { @State private var myArray: [String] = ["One", "Two", "Three"] var body: some View { NavigationView { VStack { List { ForEach(myArray, id: \.self) { item in Text(item) } .onDelete { indexSet in myArray.remove(atOffsets: indexSet) } } } .navigationBarTitle("Navigation") .navigationBarItems(trailing: EditButton()) }.navigationViewStyle(StackNavigationViewStyle()) } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }