• 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
Re: subclassing UIScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >subclassing UIScrollView (From: David Cake <email@hidden>)
 >Re: subclassing UIScrollView (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Poof! Recently-saved Core Data document suddenly gets dirty
  • Next by Date: Re: Weak Linking Crash
  • Previous by thread: Re: subclassing UIScrollView
  • Next by thread: NSMenuItem Binding Problem
  • Index(es):
    • Date
    • Thread