Re: Controlling iOS scrolling
Re: Controlling iOS scrolling
- Subject: Re: Controlling iOS scrolling
- From: Conrad Shultz <email@hidden>
- Date: Mon, 09 Jan 2012 01:12:15 -0800
Take a look at the WWDC videos from either 2010 or 2011... "Advanced Scroll View Techniques" I think was the title. These topics are covered in some depth.
You will likely also want to examine UIScrollView's -pagingEnabled property as relates to your second question.
(Sent from my iPhone.)
--
Conrad Shultz
Synthetiq Solutions
On Jan 9, 2012, at 1:09, Ken Tabb <email@hidden> wrote:
> 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
_______________________________________________
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