Subclassing UIPageControl?

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.

Up vote 0 down vote favorite share g+ share fb share tw.

Iphone uipagecontrol link|improve this question asked Jan 7 '10 at 13:59woody993171216 73% accept rate.

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).

If even the UIPageControl has texts indicating how to subclass it correctly: 'Discussion: Subclasses that customize the appearance...' in sizeForNumberOfPages: method developer.apple.com/library/ios/#DOCUMEN... – Felipe Sabino Jun 28 '11 at 15:40 I'm not saying that you can't subclass UIPageControl, I'm just saying that in this instance it is not necessary. The original poster misunderstood the purpose of UIPageControl and thought it was responsible for managing the views representing individual pages. UIPageControl just manages the 'dots' and if you don't want to modify the default appearance then you don't need to subclass it.

– Robin Summerhill Jun 30 '11 at 19:54.

See stackoverflow.com/questions/1993868/swip... Apple also has sample code you can use.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions