PDA

View Full Version : iphone is shaked




pashik
Jul 26, 2008, 05:03 PM
Hi.

how i can programmatically determine that iphone was shaked?

thanx in advance for reply.



italiano40
Jul 26, 2008, 05:10 PM
you want to get the X vaule from the UIAcceleration class and keep updating it, and if it changes in a big value, so would want to do the
get - new vaule> a big number{ then what you want to do on shake