Ios swift – Array showing incorrect data in SwiftUI sheet
Here's the code import SwiftUI struct MyView: View { @State private var Items = ["Apple", "Microsoft", "Google"] @State private var presentSheet = Bool() var body: some View { NavigationStack { List { ForEach(Items) { item in Text(item) .swipeActions(edge: .leading) {…