Re: subclassing UIScrollView
Re: subclassing UIScrollView
- Subject: Re: subclassing UIScrollView
- From: David Duncan <email@hidden>
- Date: Wed, 11 Mar 2009 14:47:16 -0700
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.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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