I am developing an Iphone application. I have a Controller say "StepMopdeView".I have displayed a toolbar on this screen using statement [self.parentViewController.view addSubview:navigateToolBar];
I want the toolbar to be displayed on this this screen but it is displayed on all the screens. I dont want this toolbar to be displayed on any other screens.I am trying to do this but not开发者_如何学Python able to achieve it.Can any one please guide me regarding how can i do it?
Thanks, Yogesh Chaudhari
simply call [navigateToolBar setHidden: YES];
in the viewWillDisappear:
method of the the viewController that created the toolbar.
精彩评论