Hello
I don't know why but when I put a List before my ForEach loop, all the text disappears
Code:
Thank you for your time
I don't know why but when I put a List before my ForEach loop, all the text disappears
Code:
Code Block // import SwiftUI struct SearchDetailView: View { var sf: SF var body: some View { ScrollView{ ForEach(sf.items, id: \.self) { item in HStack{ Image(systemName: item) Text(item) } } .navigationTitle(sf.title) } } }
Thank you for your time