Re: subclassing UIScrollView
Re: subclassing UIScrollView
- Subject: Re: subclassing UIScrollView
- From: David Cake <email@hidden>
- Date: Thu, 12 Mar 2009 11:04:17 +0900
At 2:47 PM -0700 11/3/09, David Duncan wrote:
On Mar 11, 2009, at 2:39 PM, David Cake wrote:
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.
The UIScrollView automatically enables horizontal or vertical
scrolling depending on the contentSize, and can disable horizontal
or vertical scrolling when the user scrolls along the other axis by
enabling directional lock. If you could explain what kinds of
scrolling you want to enable/prohibit it would be easier to advise
you.
Arbitrary scrolling. Such as 'in this situation, you can
scroll left, but not right'.
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