• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
subclassing UIScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: subclassing UIScrollView
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Time Zone Names
  • Next by Date: NSMenuItem Binding Problem
  • Previous by thread: Re: Time Zone Names
  • Next by thread: Re: subclassing UIScrollView
  • Index(es):
    • Date
    • Thread