GithubHelp home page GithubHelp logo

Comments (10)

andreamazz avatar andreamazz commented on August 15, 2024

My guess is that your sidemenu updates the bar button that opens it. A quick fix would be to call [self refreshNavbar] after the sidebar is closed. This should reset the alpha on the menu item to 0.

from amscrollingnavbar.

natijauskas avatar natijauskas commented on August 15, 2024

not working this andreamazz :(

from amscrollingnavbar.

natijauskas avatar natijauskas commented on August 15, 2024

Any help Please???:(

from amscrollingnavbar.

andreamazz avatar andreamazz commented on August 15, 2024

Did you try to show the navbar when the sidemenu is being opened?
What side menu library are you using?

from amscrollingnavbar.

natijauskas avatar natijauskas commented on August 15, 2024

Im using REFrostedViewController, as I do that "Did you try to show the navbar When the SIDEMENU is being opened?"

from amscrollingnavbar.

andreamazz avatar andreamazz commented on August 15, 2024

Hi @natijauskas,
you can call [self showNavbar]; when the side menu is presented.

from amscrollingnavbar.

natijauskas avatar natijauskas commented on August 15, 2024

when the side menu is presented,How Can I do that? In what method?ViewDidLoad?I have to import something to call self showNavbar in frostedviewcontroller? Sorry, but Im new with this.
Thanks a lot!

from amscrollingnavbar.

andreamazz avatar andreamazz commented on August 15, 2024

Set your view controller as the delegate for REFrostedViewController (implement REFrostedViewControllerDelegate), then implement the method:

- (void)frostedViewController:(REFrostedViewController *)frostedViewController willShowMenuViewController:(UIViewController *)menuViewController
{
    [self showNavbar];
}

from amscrollingnavbar.

natijauskas avatar natijauskas commented on August 15, 2024

Ok I add in my view controller
and then, I add this method in the viewcontroller

- (void)frostedViewController:(REFrostedViewController *)frostedViewController willShowMenuViewController:(UIViewController *)menuViewController
{
    [self showNavbar];
}

But it doesnt work :(

from amscrollingnavbar.

andreamazz avatar andreamazz commented on August 15, 2024

Did you set your view controller as the frosted controlelr delegate?
Something along these lines:

[self.frostedViewController setDelegate:self];

from amscrollingnavbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.