Cocoa Short: UIScrollView quick tip
2009 January 21
Just a quick iPhone development tip this morning, blogged because I found overcomplicated solutions when I googled it when what I actually wanted to do was really simple.
If you have a UIScrollView containing controls which need to respond to swipe/drag touches themselves rather than scroll the container then just set delayContentTouches to NO. Once this is done the default behaviour is then to immediately pass touches into any UIControl contained within the scroll view instead of scrolling.