Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pashik

macrumors member
Original poster
Jul 16, 2008
43
0
Hi.

how i can programmatically determine that iphone was shaked?

thanx in advance for reply.
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.