views:

55

answers:

1

Is there a way I can cancel scrolling in 'scrollViewWillBeginDragging' based on certain conditions?

A: 

scrollViewWillBeginDragging is merely a courtesy delegate method. Note the return type is void, which means this is not a "shouldXYZ" delegate method with a BOOL return type to control behaviour. It's just telling you "FYI, dragging is about to happen".

You will probably have to manually set the scrollEnabled property in your UIScrollView as desired to turn on and off scrolling altogether.

Shaggy Frog