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

Selected Tab Color #8

Closed
inPhilly opened this issue Oct 20, 2017 · 2 comments
Closed

Selected Tab Color #8

inPhilly opened this issue Oct 20, 2017 · 2 comments

Comments

@inPhilly
Copy link

Great control! For the tab style, is there a way to change the color of a tab once it becomes selected? This feature would be amazing.

@kazuhiro4949
Copy link
Owner

kazuhiro4949 commented Oct 21, 2017

@inPhilly
Thank you for your suggestion :)

It is easy to change tab styles when a tab is selected. PageMenuViewController provides events to check changing tab state. I added sample code about how to check the events. Check it in "iOS Sample" project.

In the delegate methods, you can change the style of each tab intermittently or continuously.

  • SampleViewController in iOS Sample
    sample_movie

  • TagViewController in iOS Sample
    sample_movie_2

(PagingKit doesn't have a responsibility about how to change the tab styles. I'm sorry that PagingKit will not provide the color change feature..)

@kazuhiro4949
Copy link
Owner

This issue should be resolved. I will close it. If you have another trouble, feel free to reopen.

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

2 participants