• 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
Controlling iOS scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Controlling iOS scrolling


  • Subject: Controlling iOS scrolling
  • From: Ken Tabb <email@hidden>
  • Date: Mon, 09 Jan 2012 09:09:17 +0000

Morning folks & Happy New Year,

I've got an iOS app that needs to have a UIScrollView containing a horizontal row of UIImageViews, all the same size. The UIScrollView will be a subclass as I need it to implement some additional behaviour, but I've got 2 questions which may already be built in (but I can't find anything relating to it):

[1] Is there an easy way of looping the scrolling (so that you don't hit either end of scrolling, you keep going around and around)?

[2] Is there any way to, upon decelerating, ensure that one of the imageviews is always centred in the scrollview? Ideally with swish decelerating taking place, looking like the user lined it up perfectly each time the scrolling comes to rest.

Thanks in advance for any pointers,
Ken

- - - - - - - - - -
Dr. Ken Tabb
Mac, iOS & UNIX Developer - Health & Human Sciences
Machine Vision & Neural Network researcher - School of Computer Science
University of Hertfordshire, UK



_______________________________________________

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: Controlling iOS scrolling
      • From: Conrad Shultz <email@hidden>
  • Prev by Date: Re: Angle of touch point from center of view?
  • Next by Date: Re: Controlling iOS scrolling
  • Previous by thread: copying objects between two Core Data persistent stores?
  • Next by thread: Re: Controlling iOS scrolling
  • Index(es):
    • Date
    • Thread