I need to know how i can detect the direction among left, right, top, upward and downward of iphone movement using CoreMotion?
My ultimate goal is to calculate distance traveled by iPhone and in which direction.
Looking forward for reply.
thanks in advance.
My ultimate goal is to calculate distance traveled by iPhone and in which direction.
Looking forward for reply.
thanks in advance.