Tint UIPageControl dots in different colors - Objective c

I am using the default UIPageControl and I have 2 hue colors - one for the current age and one for the rest. I want pages before the current pages, i.e. The transferred pages (in the screenshot attached - the current page and the previous ones should be colored red, the next page - gray), tinted with the same color as the current page, and the pages after it are painted in a different color. pageIndicatorTintColor and currentpageIndicatorTintColor shades all or all points, not just a few. Any advice on how to do this?

enter image description here

+3


source to share





All Articles