CosmicMind / Material

A UI/UX framework for creating beautiful applications.
http://cosmicmind.com
MIT License
12k stars 1.26k forks source link

how to hide BottomNavigationController #421

Closed Elqul closed 8 years ago

Elqul commented 8 years ago

hello,

how can i hide BottomNavigationController when i enter a new ViewController ?

daniel-jonathan commented 8 years ago

@mohpor I think you helped someone else with this recently, do you want to share a solution, or I can help out :)

mohpor commented 8 years ago

@danieldahan will post a solution here soon.

Elqul commented 8 years ago

and tabBarItem.badgeValue doesnt work either with BottomNavigationController . how to fix this ? @danieldahan

daniel-jonathan commented 8 years ago

@Elqul Hi, we have solved the problem and will make a release tomorrow, 1.42.0, with an example project.

Elqul commented 8 years ago

a day later and still no updates :(

daniel-jonathan commented 8 years ago

Sorry about that. We discovered an issue with iOS, where the statusBar moves the entire NavigationBar up 20px. We didn't want to release until it was solved. So today we are working on it. Basically, your issue was because the NavigationController could not be detected by the window edges. This stopped the TabBar from being hidden. So it is all related in an interesting way.

mohpor commented 8 years ago

@Elqul the imminent release will solve your problem :) Thanks for your Patience.

daniel-jonathan commented 8 years ago

Hi, sorry for the delay, please try 1.42.0 for a fix. If the issue persists, please reopen or create a new issue. Thank you!

HowardCsie commented 7 years ago

Is there any solution? :)

daniel-jonathan commented 7 years ago

@HowardCsie Have you tried the latest release in master ?

HowardCsie commented 7 years ago

Solved. self.hidesBottomBarWhenPushed = true :))Thanks

daniel-jonathan commented 7 years ago

@HowardCsie exactly :)