Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom indicator images for PageControl. #474

Open
fralsal opened this issue Apr 17, 2024 · 0 comments
Open

Support for custom indicator images for PageControl. #474

fralsal opened this issue Apr 17, 2024 · 0 comments

Comments

@fralsal
Copy link

fralsal commented Apr 17, 2024

I am working on implementing this as I need it for my project. Will submit a PR when it's done.

Apple Developer Docs: Managing the indicator images

iOS 14+ added an API to UIPageControl that allows you to:

  • Change the indicator image for a specific page of a UIPageControl.
  • Change the default image that all pages use unless overridden.

iOS 16+ also added the ability to:

  • Pick an indicator image that will be dynamically swapped to when a specific page is active.
  • Pick a default image that all pages will swap to when they are active, unless overridden.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant