Still iPhone detection acceleration

Hi,

How can we detect that iPhone was not moved for few seconds using acceleration.

thanks in advance.

by storing the last time you saw an acceleration that you considered a “move”, whatever that is (as accelerometer won’t inform you over moves, but acceleration)

thanks for idea… it works