1

I have a UIScrollView that scrolls horizontaly between subViews from user flick gestures or touches on the UIPageControl. Flicks work perfectly on a 3Gs, but often the animation stops short on a 3G, so that the next subView is not centered. A second flick will complete the scroll to the correct position.

The animation is flawless on both devices when the user touches the UIPageControl, which calls a method that calls [scrollView scrollRectToVisible:frame animated:YES].

Any ideas?

Also, how would you disable flick gestures, and instead scroll between subViews when the user touches the right or left side of the screen (as in the eBook reader Stanza)?

David Ansermot
  • 6,052
  • 8
  • 47
  • 82
Alpinista
  • 3,751
  • 5
  • 35
  • 46
  • Does it fail or is it just real slugish and lagy? – Daniel Sep 10 '09 at 20:07
  • Both: slow and fails to finish the animation. Sometimes it will end at 50%, sometimes 70% complete. It varies, and also seems to depend on how hard you flick. – Alpinista Sep 10 '09 at 20:47

0 Answers0