views:

749

answers:

2

I have my images, but how do I redraw the UIPageControl to use these images?

+3  A: 

The UIPageControl does not manage any views for you. It is a very basic control that just displays the dots. It is up to you to implement your 'page' views and navigate between them using 'swipe' gestures or however you want to do it.

See this tutorial for information on how to combine a UIPageControl with two UIViews to navigate between multiple pages.

(To directly address the title of your question - you do not subclass UIPageControl)

Robin Summerhill
I've decided to subclass a UIView and add UIImageViews to that, under which method do I call "[self addSubview..."?
woody993
+1  A: 

See http://stackoverflow.com/questions/1993868/swip-from-one-view-to-the-next-view/1993883#1993883

Apple also has sample code you can use.

Nimrod