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

Select first TabItem on load #4

Closed
ricardofrias opened this issue May 17, 2017 · 2 comments
Closed

Select first TabItem on load #4

ricardofrias opened this issue May 17, 2017 · 2 comments

Comments

@ricardofrias
Copy link

Hi,

When i load the ViewController, the last TabItem is selected (without line bottom). How can i change, to load first TabItem (with line bottom)?

Tks

@ipagong
Copy link
Owner

ipagong commented May 17, 2017

for select first tabitem :
check delegate "TabContainerDelegate" with this methods "indexWithTabContainer"
or
check selectAt(index) and reloadData(preferredIndex: true)

for line bottom:
set your custom indicator

thx

@ricardofrias
Copy link
Author

It worked!

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