UIToolbar and other views?

There are two options; 1) Add a property to your controller so external classes can access to the toolbar object. 2) Add a function to your root view controller that can be used to toddle the toolbar. I would recommend #2 since it restricts what external classes can do.E.g.

-(void) showToolbar:(BOOL)hidden { toolbar.

The problem is that you shouldn't be adding it to self. NavigationController. View; you should be adding it to self.view.

Correcting that should fix it for you.

You could try adding the following line during the initialisation of the View Controllers for which you don't want the bar to appear. Self. NavigationController setToolbar F.

Andrew Grant's answer is what you're looking for. However, you should rename the method to -(void) isToolbardden:(BOOL)hidden { toolbar. } It makes more sense that way when looking at the code.

Perhaps setToolbar.. – MrCranky Nov 20 '10 at 13:41.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions