-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
1.17.16 调用update selection status if needed forTabBarController 重大bug #289
Comments
收到,是有这个问题,请问你这个代理方法中会进行什么操作吗? |
代理方法中进行了按钮点击的数据埋点和缩放动画。调用两次导致了错乱。 [[self cyl_tabBarController] updateSelectionStatusIfNeededForTabBarController:tabBarController shouldSelectViewController:viewController]; 注释掉 |
注释掉 // [[self cyl_tabBarController] updateSelectionStatusIfNeededForTabBarController:tabBarController shouldSelectViewController:viewController]; if ([control cyl_isPlusButton]) {
UIButton *button = CYLExternPlusButton;
button.selected=YES;
animationView = button.imageView;
}else{
UIButton *button = CYLExternPlusButton;
button.selected = NO;
}
作者不知道啥时候更新呢 |
楼上做法再具体描述下?是改demo 写法么。 |
fix in v1.17.22 |
1.17.22 咋一直更新不上呢 是我网速慢么 cocoaods update好像不行呢 |
该问题已经修复,具体用法参考这里: #259 |
👌了解 |
Base Info for this issue
1. How to repeat the problem.
从1.17.4 更新到1.17.16 调用下面的方法
这个代理方法会走两次
- (void)tabBarController:(UITabBarController *)tabBarController didSelectControl:(UIControl *)control
2. Please help me in this way.
3. Here is a Demo.
4. Here is my Debug log
The text was updated successfully, but these errors were encountered: