I am working on an app for small kids. The app is basically an eye candy game where the kid can touch the screen and make flowers or balloons appear. I am using touchesBegan: and touchesend: to figure out when the kid is pressing down (start the animation) and when he lifts his finger up (stop the animation).
My problem is that, some of the kids I beta tested, with held the iPhone with their thumb on the screen. This extra touch messes with my logic that controls the position of the animation. I believe I can take care of this with one of two methods
-
setting exclusive touch so that once the first finger is down, all other touches are ignored, thus forcing the child to lift their thumb up if they want to make the game do anything.
-
by capturing the position of the touch begin and making sure that in my touch end logic, I am responding to the correct finger.
I was just curious if anyone else has run into this problem and if they had come up with a better approach.
I went with #1 “setting exclusive touch so that once the first finger is down, all other touches are ignored, thus forcing the child to lift their thumb up if they want to make the game do anything.” I tested it with a few kids and very quickly they figured out what the “rules” were and adapted.