skip to Main Content

How to build and call a function inside onAppear modifier when we want to implement inside it a for with stride in order to show SFSymbols in SwiftUI – Ios swift

I have implemented in SwiftUI the following code: import SwiftUI struct onAppearmodifier: View { @State var mytext: String = "Start" let symbols: [String] = ["globe", "heart.fill","house.fill"] var body: some View { NavigationView { ScrollView { ForEach(0..<200) { _ in Rectangle()…

VIEW QUESTION
Back To Top
Search