How to add custom image to pageIndicator in Swift?
I am currently developing an application with UIPageViewController
. I want to add a custom icon to one of the page indicator indicators, so it works like an indexIndicator on iOS 9.
For better understanding, here's an image:
It must determine which view is currently being displayed and highlight the corresponding dot or image. Does any of you know how we can do this in Swift? Is this possible with the standard pageIndicator in UIKit? If you have any questions, ask them.
+3
source to share
2 answers
I think there is a GitHub repository that does exactly that. https://github.com/Spaceman-Labs/SMPageControl
+2
source to share