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

该如何默认选中plusbutton? #606

Open
ccchina opened this issue Apr 24, 2023 · 1 comment
Open

该如何默认选中plusbutton? #606

ccchina opened this issue Apr 24, 2023 · 1 comment

Comments

@ccchina
Copy link

ccchina commented Apr 24, 2023

我设置了plusbtn的下标是2. 设置tabbarController的selectedindex为2。 初始化会正确显示在plusBtn对应的页面。
但是tabbarController中的item选中的状态是不对的。 设置了selectedindex为2,第三个item也选中了。

@DongfengWang123
Copy link

我设置了plusbtn的下标是2.设置tabbarController的selectedindex为2。初始化会正确显示在plusBtn对应的页面。但是tabbarController中的item选中的状态是不不的。设置了selectedindex为2,第三个item也选中了。
这个问题解决了吗?

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