3

I'm using a default UIPageControl and i have 2 tint colors - one for current age and one for the rest. I want the pages before the current pages, i.e. passed pages (in the screenshot attached - current page and previous ones should be tinted red, the following page gray), to be tinted with the same color as the current page, while the pages after it are tinted in a different color. pageIndicatorTintColor and currentpageIndicatorTintColor tint either on or all dots, not only some. Any advice how to go about this?

enter image description here

Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143
Einat
  • 31
  • 1
  • 4
  • Look at this question http://stackoverflow.com/questions/3409319/is-there-a-way-to-change-page-indicator-dots-color Might be helpful. Moreover you have to add extra coding in the code to get desired result. http://stackoverflow.com/questions/2942636/how-can-i-change-the-color-of-pagination-dots-of-uipagecontrol – Gagan_iOS Apr 03 '17 at 13:13
  • I think it is answered here. http://stackoverflow.com/questions/2942636/how-can-i-change-the-color-of-pagination-dots-of-uipagecontrol – Arpit Jain Apr 03 '17 at 13:14
  • @ArpitJain as i wrote in my question - these properties help only for changing all the dots or the dot of the current page. They do not help for what i need. – Einat Apr 03 '17 at 13:18
  • 4
    If you have multi color dots, how would you distingush which page you are on ? There is a reason apple doesnt support multi color dots! You should implement a custom pag control using uiview! – Teja Nandamuri Apr 03 '17 at 14:09

0 Answers0