uikit - Are there any good examples for how to use the accelerometers in iPhone OS? -
I think there are problems with Earth Gravity, so I'm surprised that there are instances where the accelerometer reduces (It's too bad that you can not file a bug with planet Earth to fix its gravity issue.
There are several examples listed under" Related sample code ".
According to that doctor, the value of 1.0 represents approximately 1g. So if you point to the iPhone directly in portrait orientation, then you should broadly & lt; 0, -1, 0> should look. As you rotate the phone, the magnitude of acceleration vector sqrt (x * x + y * y + z * z) should be approximately 1.
Comments
Post a Comment