0

In My iPad vertical scroll view each subview is of screen size. So at a time one view is shown.

I want to represent how many views or pages are there in the scrollview to scroll. this is some how i want to show as pagination.

Please help me how to do this.

Thanks in advance.

4

1 回答 1

2

看看UIPageControl。或者只是在每一页上写第 1/x 页。

编辑:获取页数计算:
scrollView.contentSize.height / scrollView.frame.size.height

于 2012-10-25T16:49:20.223 回答