Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top