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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top