iphone - ViewWillAppear/Disappear not called when the view is created programmatically -
i have root view controller class. view has few buttons. on click of button, show tab bars. basically, have implementation of tab bar , navigation controls. basically, have data shown in table view format. other view created programmatically.
now, problem on root view able hide navigation bar using
[self.navigationcontroller setnavigationbarhidden:yes animated:animated];
but, when click on buttons, navigation bar hidden on next view.i tried putting breaks on viewdidappear , viewdiddisapear method these methods not fired.
can please me on how ensure either these methods fired or on how navigation controller shown except on first view.
similar problems have been posted onto on , on , over. here explanation, check post, pay attention answer given @cduhn.
push viewcontroller using uinavigationcontroller calls viewdidappear: , viewwillappear:
Comments
Post a Comment