customized UIpaging Control

I have implemented a UIPaging control and now i want to replace the default dots by image dots. How can i do this.

Upvotes: 0

Views: 541

Answers (2)

kgutteridge
kgutteridge

Reputation: 8981

Take a look at this extension to UIPageControl

https://github.com/simonmaddox/SMPageControl

It will allow you to colour the dots, however you could easily adapt to handle images in the overriden drawRect method

Upvotes: 2

Alex Terente
Alex Terente

Reputation: 12036

Uipagecontrol does nothing. You can use an scroll view with image views in it and use scroll view delegates.

Docs:

UIScrollView Class Reference

UIScrollViewDelegate Protocol Reference

Upvotes: 0

Related Questions