Comments (15)
@Mazyod i'm running into similar issue. i have buttons in the tool bar and now i can't click those buttons since it's using autolayout
from tlyshynavbar.
also voting for a similar solution, even just a selector i.e updateYOffset:
so that I can update my own constraints.
i.e I have a subview which I do not wish to hide like the extension view, but still wish to lock to the bottom of the navigation bar.
from tlyshynavbar.
I also need autolayout support. But even without autolayout, how do you resize extension view's width?? Running your example project and rotating the view controller just leaves the extension view with the portrait width.
from tlyshynavbar.
Thanks for your feedback @jhurliman, and sorry for the late reply.
I'd really love to keep this project as simple as possible, while making sure that the few features it provides actually work properly.
I'd really suggest using custom collection view layouts or similar for any setup that is more complicated than the current one.
I'll keep this issue open for future reference, and for possible solutions that may come up without increasing the complexity.
from tlyshynavbar.
Any fixes yet?
from tlyshynavbar.
I really need a solution. :o)
from tlyshynavbar.
I'll try to look into this
from tlyshynavbar.
This is still an issue in latest version. Any update on when Autolayout will be supported?
from tlyshynavbar.
@Errortype520 really sorry about that, I haven't looked into this yet. I'll give it higher priority and try to get to it sooner, but can't promise any dates atm.
from tlyshynavbar.
Hi, @Mazyod
First of all, thanks for and awesome idea for implementing such kind of things.
I've managed to throw in autolayout in your project and it works well, the only problem i have is properly calculating offset for multiple extension views. If you are interested in my method or willing to help me out, please PM me so we can discuss this.
Thanks.
Here is my implementation.
Hide Nav Bar Delegate.zip
from tlyshynavbar.
@DmitrijMaz Hey, sure I am interesting in assisting you in coming with a solution, but it's really difficult to collaborate with zip files. How about forking the repo, making changes, and I'll chip in over there?
from tlyshynavbar.
Any updates? I've got the same issue. After profiling I found that constraint-updating was hogging the main thread.
from tlyshynavbar.
+1 same issue with autolayout
from tlyshynavbar.
@Mazyod any updates about autolayout support? Is it project active and supported yet? There are so many open issues and old code... The sources does not look simple & well structured btw.
from tlyshynavbar.
@markst I have similar problem. Not sure, is it still actual for you, but just in case, you can look at my PR for such functionality #163.
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.