I’ve entered all the code in chapter 8 but the response to the shake doesn’t leave me confident enough to layer the challenge on top of it. I know UIEventSubtypeMotionShake actually responds to the initiation of shaking as opposed to “while shaking” so my iPod has been quiet for several seconds before I try a new shake. But still, it takes an awfully mighty shake and even then there seems to be a latency period of many seconds where it won’t respond. It’s as if it’s super busy with the tilting and only sporadically avails itself to check for a shake. Is this expected behavior for this program?
I’ve played with the smoothing parameters but they affect the tilting appearance far more than any influence over shake sensitivity. And there doesn’t seem to be any way to regulate the sensitivity of motionBegan:withEvent:
edit: I ran the shake program described above on the simulator instead of my iPod and it worked fine.
(My deployment targets are iPhone 4.3, my iPod4 is running 4.3.5)