NativeControls
NativeControls copied to clipboard
Hide/Show NavBar or TabBar = Bad Things
First let me thank you for taking the time to throw this together, I was on the verge of attempting to do something very similar myself when I ran across this and it does work great, for the most part.
I read on your blog post that you are aware of the hide NavBar issue with this but even if hiding only the TabBar, when you show it again, it is not properly displayed and on resizeTabBar only gets worse. Basically if you hide either one, neither will display correctly again.
If you could correct these problems and polish it off a bit more (perhaps a destroy method in addition to a create method so we can completely remove tabbars/navbars and create new ones dynamically on the js side of things) this would be a huge step up from the existing NativeControls plugin in the official phonegap-plugins repo, it would be great if you sent a pull request after polishing it out, many would benefit from what you've done here so far.
Thanks!
Definitely on the todo list. If you hide either one, then show it again, very bad things happen, haha.