Hi,
I've got an application that uses a Tab Bar along with a Navigation Controller. I think that's pretty basic so far.
The thing is, I only need the TabBar at the first level, then browsing in the navigation tree should keep the TabBar hidden.
I set hidesBottomBarWhenPushed = YES on every view controllers I push on the stack. This works when digging into the hierarchy. However when said controller gets popped, the TabBar is visible again, *even though the current controller still has hidesBottomBarWhenPushed set to YES*.
You can picture it like this :
RootViewController -> Level 1 controller -> Level 2 controller
- Both Level1 and Level2 controller have hidesBottomBarWhenPushed = YES.
- Popping Level2 controller show Level1 controller (OK) *with* TabBar (Oops).
Am I the only one running into this issue ? Has anyone found a workaround or another way to hide the TabBar ?
Besides, am I the only one thinking this API is seriously flawed ? simply setting showTabBar = NO in my UITabBarController would have been fine ... but I can't see anything of the sort
I've got an application that uses a Tab Bar along with a Navigation Controller. I think that's pretty basic so far.
The thing is, I only need the TabBar at the first level, then browsing in the navigation tree should keep the TabBar hidden.
I set hidesBottomBarWhenPushed = YES on every view controllers I push on the stack. This works when digging into the hierarchy. However when said controller gets popped, the TabBar is visible again, *even though the current controller still has hidesBottomBarWhenPushed set to YES*.
You can picture it like this :
RootViewController -> Level 1 controller -> Level 2 controller
- Both Level1 and Level2 controller have hidesBottomBarWhenPushed = YES.
- Popping Level2 controller show Level1 controller (OK) *with* TabBar (Oops).
Am I the only one running into this issue ? Has anyone found a workaround or another way to hide the TabBar ?
Besides, am I the only one thinking this API is seriously flawed ? simply setting showTabBar = NO in my UITabBarController would have been fine ... but I can't see anything of the sort