Does anyone know if it's possible to get the tilt direction when using CMAttitude
. For example I would like to know when the phone is tilted forward vs. backward. It seems the data that comes back is the same value regardless of forward or backward. I also tried changing the output to degrees with
#define degrees(x) (180.0 * x / M_PI)
Which again only brings back the same degrees regardless of which way the phone is tilted.
Thanks.