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
iOS 13 tabbar layout delay when using setHidesBottomBarWhenPushed #386
Comments
Heh, what an odd issue. I don't see why a storyboard presence would influence the layout timing, unless Apple is doing something fishy. I don't have much time these days, but I will take a look when I can. Thanks |
Yes, sounds strange, I agree. |
@ibespaljkocs do you have a workaround for this? |
I'll look at this tomorrow. I haven't seen this reproduce, but will try to. |
Reproduced, investigating. |
Fixed. For some reason, when the tab bar is not created from a storyboard, the frame was being overridden. Should work well now. |
Description
UITabbar has a layout delay if setHidesBottomBarWhenPushed is set to YES when opening another screen (e.g: details screen with no bottom tabbar). Layout delay happens on back action, when user returns to previous screen.
This is present only on iOS 13 when not using storyboards!
iOS 13 + storyboard -> OK.
iOS < 13 + storyboards -> OK.
iOS < 13 w/o storyboards -> OK (e.g: using nibs or manually creating UITabBarController)
Also, it works OK on any iOS if animations are turned off with [UIView setAnimationsEnabled:NO]
Steps to Reproduce
Behaviour: PopupBar is moved up as expected, but UITabbar is shown with some delay.
Video: https://drive.google.com/file/d/1mZCrRn07NXj0MT4ji4XD_HCG9wjFvibG/view
Device, OS and Xcode Versions
iPhone SE, iPhone 11 with iOS 13 (confirmed on 13.4.1 also)
The text was updated successfully, but these errors were encountered: