Giter VIP home page Giter VIP logo

Comments (7)

Mazyod avatar Mazyod commented on May 14, 2024

I think this is a duplicate of #18. Let me know if you feel otherwise.

from tlyshynavbar.

yasirmturk avatar yasirmturk commented on May 14, 2024

that is about custom UIStatusBar height ..but my issue is related to UINavigationBar height

from tlyshynavbar.

Mazyod avatar Mazyod commented on May 14, 2024

@yasirmturk Can you please explain more about how the UINavigationBar height is changing?

from tlyshynavbar.

yasirmturk avatar yasirmturk commented on May 14, 2024

@Mazyod for example my app is using a navigation bar of fixed custom height 64px instead of native 44px

from tlyshynavbar.

Mazyod avatar Mazyod commented on May 14, 2024

@yasirmturk hmm.. I think this is a hack, right? UIKit doesn't provide height changing APIs for UINavBar. I will reopen it, anyway, but the solving the status bar comes first, and hopefully it will be easy to fix this as well after that.

from tlyshynavbar.

yasirmturk avatar yasirmturk commented on May 14, 2024

@Mazyod yes it does via over-riding the method
- (CGSize)sizeThatFits:(CGSize)size
and you can easily get the actual height via UINavigationBar's
frame.size.height

from tlyshynavbar.

Mazyod avatar Mazyod commented on May 14, 2024

I am happy to say this should now be possible! The library no longer relies on the topLayoutGuide for layout, but instead uses the navigation bar frame.

Thanks for reporting this @yasirmturk !

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.