开发者

Iphone:removing the toolbar

开发者 https://www.devze.com 2023-03-22 10:43 出处:网络
I am developing an Iphone application. I have a Controller say \"StepMopdeView\".I have displayed a toolbar on this screen

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消