Reputation: 6016
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
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
Reputation: 12036
Uipagecontrol does nothing. You can use an scroll view with image views in it and use scroll view delegates.
Docs:
UIScrollViewDelegate Protocol Reference
Upvotes: 0