Alex Rivera | Logout

how do i use a UIPageControl?

Asked 2010-08-15T13:37:03.780
48

I am making an app where 10 images can be scrolled through using a page control. The problem is that I have absolutely no idea how to use a page control. Any help at all is appreciated.

Edit
Report

1 Answer

12

You basically need to add a scrollView and enable pagination on it. Then add content of each page you want to show. In your case that will be images.

You can find a very descriptive tutorial to add images in page control from here http://www.raywenderlich.com/10518/how-to-use-uiscrollview-to-scroll-and-zoom-content

sample code http://cdn1.raywenderlich.com/downloads/ScrollViews.zip

answered 2013-02-26T10:52:10.183

Your Answer