Play sound when UIScrollView is scrolling

Posted by Chonch on Stack Overflow See other posts from Stack Overflow or by Chonch
Published on 2010-04-21T11:59:45Z Indexed on 2010/04/21 12:03 UTC
Read the original article Hit count: 289

Filed under:
|
|

Hey,

I have a scroll view that can be scrolled to the sides (only left and right, not up and down). I want to play a short sound (less than a second) whenever the scroll view is moved X pixels to either side.

How can this be done? Code samples will be greatly appreciated...

Thanks,

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiscrollview