开发者

Iphone:removing the toolbar

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜