hi, i like to add the function playing sounds when either sliding fingers on the surface to my iphone app. the sounds are playing now only when pushing buttons. i suppose this works with TouchesMoved, but i don't know how to implement the "AVAudioPlayer" code to the touches event code. please any code sample, thanks!
+1
A:
As far as I'm aware, TouchesMoved is used to trigger events on the screen (when 'moved over') which in turn can trigger sound events. I don't beleive there is a way you can produce a sound when the user is just 'sliding' around the screen and not interacting with any objects.
This is something I've looked into myself but didn't come up with a solution, but I'll hopefully be corrected in this thread if wrong!
Matt
2009-11-11 11:56:55
blacksheep
2009-11-11 12:11:50