For my project I need to create an app that displays message based on how vigorously you shake the phone. It should register the maximum speed/g-force in let's say, 3 seconds. I came up with the example: Let's say that you drop your iPhone from the roof and lands on the pillow and it reaches 1.5G/or 40mph, displays that you reached 1.5G/40mph.
Thanks in advance!