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中间添加plusbutton,在iOS10.3.1和iOS10.3.2上显示,barItem的位置有问题 #392

Closed
utopia2006 opened this issue Jun 26, 2019 · 3 comments
Labels

Comments

@utopia2006
Copy link

enter image description here



Base Info for this issue

  1. Version:Latest Version as here
  2. Language of App :Objective-C/Swift
  3. iOS System Version:iOS12
  4. Prototype(是否是真机):YES
  5. Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A

1. How to reproduce the problem.

2. Please help me in this way.

3. Here is a Demo.

4. Here is my Debug log


@utopia2006
Copy link
Author

utopia2006 commented Jun 26, 2019

CYLTabbarController.m中的:

- (void)viewDidLayoutSubviews {
   CGFloat deviceVersion = [[[UIDevice currentDevice] systemVersion] floatValue];
   if (deviceVersion >= 10 && deviceVersion < 10.2) {
       [self.tabBar layoutSubviews];//Fix issue #93
}

修改一下这个版本号判断,保证能调用[self.tabBar layoutSubViews] 就能解决这个问题了

@ChenYilong
Copy link
Owner

收到,我确认下

ChenYilong added a commit that referenced this issue Jun 26, 2019
@ChenYilong
Copy link
Owner

v1.28.1:Fix issue #93 #392

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

2 participants