Reputation: 21
For my app I'm using a navigation controller inside my tabbar controller. Everything work fine except one thing. I have a grey bar as the same size of my navigation bar on the top of the screen. I don't succeed to remove it. In the storyboard everything look fine. Anyone have any idea of what is this grey bar and how remove it?
The green bar is my navigation bar. I customise it for the first screen.
If i go on another tab item and do [self.navigationController setNavigationBarHidden:YES animated:animated];
, when i came back the grey bar disappear.
But if do it directly on the navigation controller the navigation bar disappear and the grey bar stay.
Upvotes: 1
Views: 254
Reputation: 21
Thanks to Jad Feitrouni who find my problem. When i called my TabBarController from my appDelegate it was embed in a NavigationController. I removed it and it's good now
Upvotes: 1