Reading time: 1 min
This recipe shows how to implement shake gesture detection in SwiftUI. The result looks like this (you'll have to image the phone being shaken :)):
This component is available as a Swift Package in this repo.
The recipe is as follows:
Search our recipes!
Have a recipe for us?
Get in touch and let's grow the cookbook together!