title: How to detect shake gesture in swiftUI
body: <p>In apple's documentation, I did not find any gesture related to shake for swiftUI. So how to detect it?</p>
  
  <p>I am very new to swift programming and this question really bothers me for a long time.</p>
  
  <p>In UIKit If I want to detect shake gesture is quite simple and straight forward. In swiftUI, there are bunch of gestures like tap drag rotation, however I cannot find shake gesture in official documentation or anyone who asked. Is this possible in swiftUI to achieve the same result? Or they just forget to add it into the swiftUI framework...</p>
  
  <p>If it's not possible in swiftUI, then how am I going to import the motionEnded function in UIKit to the swiftUI view that I want to detect shake motion?</p>