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

'hidesBottomBarWhenPushed' does not work #12

Open
panliming-tuya opened this issue May 17, 2016 · 3 comments
Open

'hidesBottomBarWhenPushed' does not work #12

panliming-tuya opened this issue May 17, 2016 · 3 comments

Comments

@panliming-tuya
Copy link

push到子视图时, 子视图中设置self.hidesBottomBarWhenPushed = YES; 属性不生效, tabBar并不消失

而且会报警告:

The unbalanced calls to begin/end appearance transitions XXX

@leichunfeng
Copy link
Owner

由于层次结构跟系统的有差别,所以你需要用根上的 navigationController(下图中为绿色的导航控制器) 去 push :

WXTabBarController

@panliming-tuya
Copy link
Author

@leichunfeng 怪不得Demo里根视图是NavigationController, 原来是这样.

但是...这样的TabBarController是不是并不完善呢

@leichunfeng
Copy link
Owner

因为要用 scrollView 来实现滑动切换,所以结构层次只能这样了,暂时没有想到更好的办法。

@leichunfeng leichunfeng mentioned this issue Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants