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

Screen flashes black while opening with TabBarCoordinator #245

Open
SubvertDev opened this issue May 10, 2023 · 0 comments
Open

Screen flashes black while opening with TabBarCoordinator #245

SubvertDev opened this issue May 10, 2023 · 0 comments

Comments

@SubvertDev
Copy link

Hi, I've got an issue that I can't eventually figure out.

I'm using TabBarCoordinator as a starting point in my app, but right after startup my screen flashes black for a second.
I've tried solutions from #172, but none of them did help me, except injecting custom UITabBarController with it's view.backgroundColor set to .systemBackground. But if I do that my tab bar flashes for a second too because it's translucent and tries to mimic it's background, so I need to disable translucency in my custom tab bar which I don't really want to do.

It's easily reproducible with demo app by changing router in AppDelegate to HomeTabBarCoordinator(), for a more visible result you can inject custom tab bar with background color set to red into that coordinator.

Did I do something wrong and how do I fix that? Thanks.

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