Quote:
Originally Posted by jsd
Are you using a navigation controller? Is the set title stuff you're doing in the navigation controller or the controller that is being pushed? It has to be in the latter.
|
I'm using a nav controller for the main views, but using the 'presentModalViewController:animated:' method to display the view in question. The modal view has a navigation bar with 'cancel' and 'save' buttons. I'm trying to set the title in the modal view that is about at appear after the 'presentModalViewController:animated:' is called. The 'viewWillAppear' method is being called and the title value is being set in the view (or the navigationItem or the navigationController, whichever version I'm trying.) I can see it in the debugger. But, nothing gets displayed on the actual view. The view itself displays fine, with the buttons, etc., but no title.