Hello, I'm making an app using SwiftUI in Xcode. I have a button showing a Int variable, and I want that by swiping up or down, the variable got increased by one. Is it possible ? Every videos that I seen on the subject was using UIKit and complicated stuff … Thanks for your help.
How to use Swipe gesture recognizer in a SwiftUi project
Tell my if you want my code.