objective c - Detecting UITableView scrolling -


I have subclassed as UITWV and have applied four touch-based methods (touching brinjals, touching touches, touching, and touching)

) so that I can find out when a touch-based event is being controlled at the UITableView. Essentially what do I need to know when UITableView is scrolling or down.

However, UITableView subclassing and creating the above methods only shows when the movement of the scrolling or finger is happening within a UITableViewCell, not on the entire UITableView.

As soon as my finger goes to the next cell, the touch event does not do anything.

In this way I'm subclassing the UITableView: #import "KRTableView.h" Implementation KRTableView - (zero) touchesBegan: Event with touch (NSSet *) :( UIEvent *) Event {[Super touches eggplant: Duchess with missed: event]; NSLog (@ "Start Touched ..."); } - (zero) touch: Affected: (NSSET *) touches the event: (UIEvent *) event {[Super touches: left with touch: incident]; NSLog (@ "Touched"); } - (zero) Missed touch: (NSSET *) touches the event: (Uiivent *) Event {[Super touches canceled: Event with touch: Event]; NSLog (@ "touch tangled"); } - Added (zero) touch: (NSSET *) touches the event: (UEVENT *) Event {{Super Touched: App In Event: Event}; NSLog (@ "One tap was detected at KRTableView"); } @end

When is the UITableView scrolling down or how can it go?

You do not need to block event methods. Check the documentation for the UIScrollViewDelegate protocol, and -scrollViewDidScroll: or -scrollViewWillBeginDragging: Make the modes relevant to your situation.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -