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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top