iphone - detecting user touch on UIScrollView -


i wanted detect when user scrolls , removes finger screen. easiast this? thinking of using:

-(void)touchesended:(nsset *)touches withevent:(uievent *)event; {     nslog(@"touch ended"); } 

but put in uiviewcontroller, isn't called

how using uiscrollviewdelegate function

(void)scrollviewdidenddragging:(uiscrollview *)scrollview willdecelerate:(bool)decelerate 

this gets called when user lifts finger after dragging scroll view. see here: uiscrollviewdelegate documentation


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -