P pashik macrumors member Original poster Jul 16, 2008 43 0 Jul 26, 2008 #1 Hi. how i can programmatically determine that iphone was shaked? thanx in advance for reply.
italiano40 macrumors 65816 Oct 7, 2007 1,080 0 NY Jul 26, 2008 #2 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
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