Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove the Toolbar? #46

Open
stuffmc opened this issue Mar 20, 2013 · 5 comments
Open

How to remove the Toolbar? #46

stuffmc opened this issue Mar 20, 2013 · 5 comments

Comments

@stuffmc
Copy link

stuffmc commented Mar 20, 2013

I've tried different things. Sometimes I don't want a toolbar at all.

@samvermette
Copy link
Member

Good call. Class should have a setToolbarHidden:animated: method like UINavigationController does. Again, feel free to submit this as a PR. I put these up on GitHub so that anyone can contribute :)

@stuffmc
Copy link
Author

stuffmc commented Mar 22, 2013

OK I'll do that as well the UIAppearance thing. Unsure when though.

@danielbraun
Copy link

Any solution?
The design of doesn't let me access its SVWebViewController.

@stuffmc
Copy link
Author

stuffmc commented Oct 30, 2014

My post is > 19 months old. I have no idea what I potentially started back in the day :-)

@sjrmanning
Copy link

In case anyone still needs this, the easiest way I've found is to subclass SVWebViewController and add the following:

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];

    self.navigationController.toolbarHidden = YES;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants