UIScrollView - force a bounce
UIScrollView - force a bounce
- Subject: UIScrollView - force a bounce
- From: Alex Kac <email@hidden>
- Date: Sat, 16 Mar 2013 11:19:35 -0600
I've got a paging UIScrollView with two views/pages on it that scrolls horizontally. We are playing with a few UI ideas and as part of that I'd like to programmatically "bounce" the scroll view. The idea is that as you open the app, we peek into the second page and then bounce it back to the first page. Sort of as if a user swiped it to the left to peek, and then let go and let the scroll view naturally bounce back. I've played a bit with the scrollToRect:animated: methods, but it looks very robotic.
I'm not sure if this idea even works, but we'd like to try it so does anyone have some pointers or thoughts on how to go about it? I've also played around with using some CA blocks as well, but it seems silly to re-invent the existing animation UIScrollView has.
_______________________________________________
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