Comments (8)
Ah, thanks for reporting this. I haven't taken a look at the component's behavior when the status bar grows. The component does calculate the status bar height "dynamically", but not sure if that code works well with the in-call status bar.
Will check it out soon.
from tlyshynavbar.
Some pointers regarding this:
The frame of the status bar frame can be obtained like this: [UIApplication sharedApplication].statusBarFrame
.
Also, there is an notification called UIApplicationDidChangeStatusBarFrameNotification
that contains a dictionary with the old status bar frame [[[notification userInfo] objectForKey:UIApplicationStatusBarFrameUserInfoKey] CGRectValue]
.
Compare the height of this rect with [UIApplication sharedApplication].statusBarFrame
to get the 'changed height' / delta. This can be used when the status bar height changes after ShyNavBar has been initialized.
from tlyshynavbar.
@Mazyod What is the status of this issue? Do you calculate/use the status bar height somewhere? This issue affects me a lot so I might want to take a look if I have some spare time.
from tlyshynavbar.
@koenbud You can take a look here:
https://github.com/telly/TLYShyNavBar/blob/master/TLYShyNavBar/TLYShyNavBarManager.m#L25
Your contributions are greatly appreciated!
from tlyshynavbar.
@Mazyod Thanks for your quick reply. I'll take a look next couple of days.
from tlyshynavbar.
Hi @koenbud, was wondering if you worked it out. I'm struggling with this now.
from tlyshynavbar.
Hi,
I created pull request with fix for this bug:
#62
from tlyshynavbar.
Merged. I hope this one is finally fixed. Cocoapods version bumped, as well.
Thanks again @Remki
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.