Giter VIP home page Giter VIP logo

Comments (8)

Mazyod avatar Mazyod commented on May 14, 2024

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.

koenbud avatar koenbud commented on May 14, 2024

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.

koenbud avatar koenbud commented on May 14, 2024

@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.

Mazyod avatar Mazyod commented on May 14, 2024

@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.

koenbud avatar koenbud commented on May 14, 2024

@Mazyod Thanks for your quick reply. I'll take a look next couple of days.

from tlyshynavbar.

stasix avatar stasix commented on May 14, 2024

Hi @koenbud, was wondering if you worked it out. I'm struggling with this now.

from tlyshynavbar.

Remki avatar Remki commented on May 14, 2024

Hi,

I created pull request with fix for this bug:
#62

from tlyshynavbar.

Mazyod avatar Mazyod commented on May 14, 2024

Merged. I hope this one is finally fixed. Cocoapods version bumped, as well.
Thanks again @Remki

from tlyshynavbar.

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.