I have started with Apple's catalog sample project, and I am evolving several views to be completely driven by JSON (to the point where there isn't even a need for an XML file for that view anymore). I have everything working really well - the views do exactly what they should. There's just one problem - the menu bar disappears whenever the view gets presented.
This occurs when I call
navigationDocument.pushDocument, I suppose because it is pushing on top of the menu bar template. However when I switched to the setDocument function on the menu bar object, the view never appears at all.If I have a document ready to show based on what menu item the user picked, how do I display it without making the menu bar go away?