Comments (7)
@paulovap Hi! Thanks for reporting the issue.
I will look into this, but just to make sure I understand; you are referring to floating headers, right? Something like this: https://github.com/jamztang/CSStickyHeaderFlowLayout?
from tlyshynavbar.
Yes, i made my own FlowLayout, but its similar to https://github.com/jamztang/CSStickyHeaderFlowLayout where the headers are sticky. With tableview the navigation bar hides normally and the tableview is kept below status bar as expected. But with collectioview it becomes hidden behind the status bar. Don't know if it is actually a bug, but i'm hoping for some guidance. Thank you in advance.
from tlyshynavbar.
I see...
Currently, the component only changes the contentInsets
of the scrollView subclass you attach to it (UICollectionView
in your case), and it does so as soon as the view appears. So, if the headers are appearing behind the status bar, I would suggest you use the AACStatusBarHeight
function inside the component to offset your headers in the layout code, so it doesn't overlap the status bar.
I can't think of anything else, because it seems the issue might be in the layout code.
from tlyshynavbar.
@paulovap Can you please try settings extendedLayoutIncludesOpaqueBars
to YES
? That should resolve the problem. Credits goes to Tim Arnold.
from tlyshynavbar.
Did not worked for me. I will try to use this layout project that you recommended and see if this works.
from tlyshynavbar.
@Mazyod i managed to fix it on the FlowLayout! Thank you!
from tlyshynavbar.
I am glad to hear that!
from tlyshynavbar.
Related Issues (20)
- Not hide nav hide text only
- Navigation bar corrupted (can recreate in TLYShyNavBarDemo)
- Issue when adding/removing navigationItems while navigation bar is contracted
- Fade the entire navbar can not work when use tableview
- the code works not well in pageViewcontroller HOT 1
- Multiple extensionViews
- bug HOT 1
- Nav Bar gets stuck midway through transition state when using the interactivePopGestureRecognizer HOT 2
- When I click on the status bar twice, the effect is different.
- Statusbar is gone / get "overlapped" HOT 4
- TLYShyNavBar not working, UITabBarController HOT 1
- -[UIViewController tly_swizzledViewWillAppear:]: unrecognized selector sent to instance 0x10355e750
- Cannot work on iPhone X. HOT 5
- iOS 11 Large gap above scroll view HOT 6
- iOS 11 Fade no longer works HOT 4
- Is there no way to have navBar in the same state it was it when a view controller was pushed to it?
- Hiding/Expanding navigationbar is not working on ios 11 with xcode 9
- Failed to Render and update auto layout status for MYViewController HOT 1
- Support for iOS 12 and Xcode 10 beta HOT 1
- Extra distance between UINavigationBar and ExtensionView after a rotation. HOT 4
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 tlyshynavbar.