Comments (10)
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.
not working this andreamazz :(
from amscrollingnavbar.
Any help Please???:(
from amscrollingnavbar.
Did you try to show the navbar when the sidemenu is being opened?
What side menu library are you using?
from amscrollingnavbar.
Im using REFrostedViewController, as I do that "Did you try to show the navbar When the SIDEMENU is being opened?"
from amscrollingnavbar.
Hi @natijauskas,
you can call [self showNavbar];
when the side menu is presented.
from amscrollingnavbar.
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.
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.
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.
Did you set your view controller as the frosted controlelr delegate?
Something along these lines:
[self.frostedViewController setDelegate:self];
from amscrollingnavbar.
Related Issues (20)
- Live demo at https://appetize.io fails to get launched HOT 1
- Deprecated API Usage
- iOS 13 TabBar position is invalid after resuming device from lock HOT 1
- Table view buttons and title disappears after going back from full screen presented controller HOT 2
- Scroll to Top is not exact correct HOT 8
- Scroll when collapsed does not expand HOT 3
- Native SPM Support HOT 1
- Navigation bar isTranslucent = false is not working correctly HOT 2
- scroll to top doesn't work correctly HOT 11
- Can't not submit app to AppConnect since UIWebView is deprecated. HOT 2
- Container navigation controller breaks bar HOT 3
- Weird behaviour after accessing bottomLayoutGuide with iOS14 HOT 3
- Title goes beyond navigationbar on scrollEdge/compact appearance on IOS 13+
- Navigation bar background color changing HOT 6
- Navbar is not hiding in iOS 14 HOT 1
- iOS 15 Appearance issue HOT 1
- Fatal Exception: NSInternalInconsistencyException UICollectionView received layout attributes for a cell with an index path that does not exist: <NSIndexPath: 0xcf6b25b9e4f777ac> {length = 2, path = 0 - 2} HOT 1
- No more scrolling with iOS 15.1 HOT 10
- UITabbarController show space above navigationbar ios15
- Not Able to Scroll Up to the Top after Scrolling Down in iOS 15+ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amscrollingnavbar.