woody993
woody993

Reputation: 659

Subclassing UIPageControl

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

Upvotes: 1

Views: 4902

Answers (2)

Robin Summerhill
Robin Summerhill

Reputation: 13675

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)

Upvotes: 4

Nimrod
Nimrod

Reputation: 5133

See Swip from one view to the next view

Apple also has sample code you can use.

Upvotes: 1

Related Questions