On my ViewControllers I almost always put a navigation bar on interface builder. I think that it appear "automatic" just when there is a father Navigation Controller but I don't use it so much. I don't know if it's that correct but I lost the fear to put some objects on interface builder to make my own and avoid the always tap and swipe iphone navigation model on ipad, but I'm crossing things on ipad and windows mobile.
Simulated things on interface builder are just to see how it will be if something put or changes something by code, like view format (page, form, fullscreen etc). So if you will do a ViewController that will be inside an ipad "dialog" so you can draw it simulating this format to design it near the real view. Karl From: Chris_M <[email protected]> Date: Wed, 22 Feb 2012 14:38:46 -0800 (PST) To: "[email protected]" <[email protected]> Subject: [MonoTouch] Navigation Bar Question I¹ve worked my way through all the beginner-level MonoTouch tutorials without much trouble. As a supplemental learning exercise I¹ve been trying to see how many different things I can get to work in a single-view app. So far, so good. But there is one thing that¹s stumping me, and it¹s frustrating because it seems like it should be simple and obvious. I want to have the navigation bar visible and display a title on it, as we did in the Model View Controller tutorial. Of course I¹ve opened my single view¹s xib file in Interface Builder and set the Top Bar to Navigation Bar under Simulated Metrics. My code builds without incident and runs fine in the simulator, but the navigation bar isn¹t displayed. To make sure I¹m not screwing something up, I¹ve created a new solution where the only thing the app does is display a label and have the navigation bar turned on. The label displays fine, but no navigation bar. I¹ve searched online for a solution, but I¹m still stumped. My simple single-view app doesn't have a UINavigationController object. Do you *have* to have a UINavigationController object so that you can set SetNavigationBarHidden to false to make the navigation bar visible? Is there a way to display the navigation bar without a UINavigationController object? --Chris M. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Navigation-Bar-Question-tp4412051p441 2051.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
