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

请问可以实现像支付宝tabbar 首个item的效果嘛? #596

Open
Seven163 opened this issue Aug 17, 2022 · 1 comment
Open

请问可以实现像支付宝tabbar 首个item的效果嘛? #596

Seven163 opened this issue Aug 17, 2022 · 1 comment
Assignees
Labels

Comments

@Seven163
Copy link

首先只显示图片,切换后显示图片和文字。

@ElvistLui
Copy link

可以先自定义类继承CYLTabBarController,通过遍历找到首页item(UITabBarButton),然后创建图片UIButton添加到tabBar上,通过alpha控制首页item和图片button的显示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants