subclassing UIScrollView
subclassing UIScrollView
- Subject: subclassing UIScrollView
- From: David Cake <email@hidden>
- Date: Thu, 12 Mar 2009 06:39:35 +0900
I've sub-classed UI Scroll view. Ultimately, what I am trying
to do is allow scrolling in only certain directions. Just using a
delegate, I can determine which direction scrolling is taking place
it, but there doesn't seem to be any way I can do anything about it
until it is over.
My subclass of UIScrollView is loaded - but my versions of
- (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent
*)event inContentView:(UIView *)view;
and
- (BOOL)touchesShouldCancelInContentView:(UIView *)view;
don't seem to ever be called. I've tried various settings of
delaysContentTouches and CanCancelContentTouches.
Any advice appreciated.
Regards
David
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden