question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Navbar height

See original GitHub issue

Hi!

For some reason it seems like the navbar on iOS is rendering at double height. I’ve tried running through various props on the <NavigationBar> component but with no luck. You can see an example below:

You can see an example here

Do you happen to know why this might be happening, and how to resolve? I’m using a fairly standard TabBar implementation, and this issue is occurring both top level and on children with breadcrumbs.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
SourceErr0rcommented, Jun 24, 2022

Ahhh that’s done it, brilliant, thanks!

1reaction
grahammendickcommented, Jun 24, 2022

Oh thanks, I think I’ve got it. You need to hide the NavigationBar in the scene with the tabs in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - Programmatically get height of navigation bar
With iPhone-X, height of top bar (navigation bar + status bar) is changed (increased). Try this if you want exact height of top...
Read more >
iPad Navigation Bar height now 50 | Apple Developer Forums
iPad Navigation Bar height now 50 ... So its changed from 44 to 50. Unfortunetaly we have some static sized views which now...
Read more >
iOS Design Cheat Sheet - Kapeli - Dash for macOS
Device, Status Bar Height, Navigation Bar Height, Tab Bar Height, Table Width. iPhone 6.5-inch. iPhone XS Max, iPhone 11 Pro Max. 132 px....
Read more >
iPad Navigation Bar and Toolbar Height Changes in iOS 12
In iOS 12, iPad tab bars have also changed height from 49 to 50 points tall. This removes the height differences between toolbars...
Read more >
How to get the Navigation Bar height in iOS? - Tutorialspoint
Getting height of Navigation bar becomes important if you've multiple view controllers having different UI and requirement.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found