Vikings
Vikings

Reputation: 2527

iPhone Toolbar Question

I have a toolbar on the bottom of my view, and I want to hide the toolbar, how is this accomplished? I only have the original view that was in the project, I tried the code below but no success.

[self.view setToolbarHidden:YES animated:YES];

Upvotes: 0

Views: 194

Answers (2)

Jamie
Jamie

Reputation: 5112

To add to the above poster, if you wanted the animation in there you should be able to call:

[toolBarName setToolBarHidden:YES animated:YES];

if you want the animation to be in there.

Upvotes: 1

HG's
HG's

Reputation: 828

Try the following

toolBarName.hidden = YES;

Upvotes: 3

Related Questions