Post

Replies

Boosts

Views

Activity

iOS14 missing TabBar on popping multiple ViewControllers
Seems like there is a confirmed bug on Xcode12 + iOS14. I have a UINavigationController on each item of a UITabBar, and I've set hidesBottomBarWhenPushed to YES on every secondary ViewControllers, so the TabBar will only be shown on the rootViewController of navigationController. But when I try popping multiple ViewControllers, like pop C from stacks like A-B-C, I found that the TabBar just missing on A. Also another weird part, when I print navigationController.viewControllers in viewWillDisappear: method on C, I found it printing like "C-A". How C moved to the top of the array?? This is confirmed on a simple demo app, wonder when it will be fixed.
18
0
9.4k
Sep ’20