UIAccelerationValue angle

Posted by dragon on Stack Overflow See other posts from Stack Overflow or by dragon
Published on 2010-05-11T15:59:31Z Indexed on 2010/05/11 16:14 UTC
Read the original article Hit count: 337

Filed under:

Hi,

- (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration 

Using the above method we got an acceleration value of (x and y and z).Now i want to find angle between (x and y) and (y and z) and (z and x).How can i do this?

Can anyone help me ?

Thanks in advance.....

© Stack Overflow or respective owner

Related posts about iphone