Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TabBar not showing on devices with a home button #11

Open
justinlyman opened this issue May 26, 2023 · 3 comments
Open

TabBar not showing on devices with a home button #11

justinlyman opened this issue May 26, 2023 · 3 comments

Comments

@justinlyman
Copy link

justinlyman commented May 26, 2023

The TabBar is not showing on devices that have a physical home button such as the iphone SE, 8, etc.

@justinlyman
Copy link
Author

This seems to be related to .replace, if I comment out loadHome() in viewDidLoad() it shows the tabBar. If I navigate to one of my buttons, the tabBar does not show once the replace loads. If I navigate to a page within that view with advance, the TabBar then shows.

@justinlyman
Copy link
Author

Something else i found is that if you rotate the screen, the tabBar shows up.

@justinlyman
Copy link
Author

I was able to find a solution, adding tabBar.invalidateIntrinsicContentSize() to the loadTabs function resolved the issue. I will submit a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant