Post

Replies

Boosts

Views

Activity

Reply to hello
I don't think there is a way to adjust lighting but here is how to make a counter @State var counter: Int = 0     var body: some View {         VStack {             Text("\(counter)")             Button("Count Up") {                 counter += 1             }                          Button("Count Down") {                 counter -= 1             }                   }      
Apr ’21