Hi, I have two things I’m stuck with when I’m developing my app. I have not found any really good documentation for how I do this.
I try to do a function. When the user shakes his/her phone, to make an API call. The problem is that I can’t find so much written about how to do such a shake function.
The second thing I want to do is to move an icon back and forth on the screen to indicate that you can shake the phone to make the API call in the first problem I listed. Same here I find nothing where it says how I do it.