Question

For some reason, the pagingEnabled of UIScrollView does not fit my demand, I need to set the contentOffset manually. So first I need to reimplement paging, and then try to find out how to customize it.

Is it possible to reimplement UIScrollview paging only use UIScrollViewDelegate methods? And are there any examples?

Was it helpful?

Solution

I've found DMPagingScrollView that actually completely implement paging just using UIScrollView's delegate methods. It works just like a UIScrollView with paging enabled, and much more flexible.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top