I would like to reproduce the behavior of the UIScrollView flick-to-scroll, but I do not want to use (or not use) this class. What can I do?
Ok, I answered that by running my own library that displays the dynamics of a UIScrollView.
What is useful for my code is that it does not depend on the coordinate system, animation speed, and certain user interface classes that you use. It can be easily nested in your viewing class.
iPhone - . , , .
, , , . , , " " - . . .
github, : http://gist.github.com/100855. BSD.
UIScrollView ? ...
, , - , :
myScrollView.bounces = YES; myScrollView.pagingEnabled = YES; myScrollView.directionalLockEnabled = YES;
, , directionLockEnabled. , , UIScrollView, : -)
directionLockEnabled
! , - 1902-2037, UIScrollView .