• 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 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


  • Follow-Ups:
    • Re: subclassing UIScrollView
      • From: David Cake <email@hidden>
References: 
 >subclassing UIScrollView (From: David Cake <email@hidden>)

  • Prev by Date: NSMenuItem Binding Problem
  • Next by Date: Is cascading Nib Loading from -awakeFromNib permissible?
  • Previous by thread: subclassing UIScrollView
  • Next by thread: Re: subclassing UIScrollView
  • Index(es):
    • Date
    • Thread