iPhone, how to calculate iPhone device three axis angle via UIAcceleration?
<p>as topic, </p>

<p>I am try to use the code as follows :</p>

<p><code>
    xAngle = 90.0 *x;
    yAngle =  90.0* y;
    zAngle =  90.0* z;
</code></p>

<p>but seem it is not right (x,y,z is the UIAcceleration attributes x, y and z) </p>

<p>am I miss some thing in this algorithm ?</p>

<p>thanks for your help </p>

<p>Best . </p>
