I'm wondering is this API "indexTitlesForCollectionView" only available in iOS14 above?
Post
Replies
Boosts
Views
Activity
(NSArray<__kindof UIViewController *> *)popToRootViewControllerAnimated:(BOOL)animated {
if (self.viewControllers.count > 1) {
self.topViewController.hidesBottomBarWhenPushed = NO;
}
NSArray<__kindof UIViewController *> *viewControllers = [super popToRootViewControllerAnimated:animated];
	// self.viewControllers has two items here on iOS14
return viewControllers;
}
Some vc is still required to set hidesBottomBarWhenPushed = NO, I think popToRootViewControllerAnimated is another solution.