-
Notifications
You must be signed in to change notification settings - Fork 608
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
StatusBar appareance when moving to another UIViewController #109
Comments
Hi! Thanks for opening the issue.
Unfortunately I won’t be able to investigate this until Sep 27 since I’m
not near my Mac. Please make any adjustments / workarounds as you see fit
inside a fork. I’ll make sure to look into it when I’m available again.
Cheers!
|
Thinking it through, the fix should specifically refer to a situation where the entry is displayed above the status bar. In that case - the status bar appearence should not be manipulated - since it’s already placed below the entry. |
@RemiRodrigues - Intuitively, It feels like a bug. Yet, I couldn't help but think that a fix for it is an enhancement as well. I mean, to truly handle that kind of issue SwiftEntryKit should listen to the status bar updates, which as far as I know, is not fully possible. The other option is to add an additional status bar style which implied SwiftEntryKit that it should ignore the status bar entirely in some cases. That can be tricky when chaining multiple entries with different values of status bars. |
@huri000 thanks for your answer ! I think your second option, an additional status bar style, can be a light weight solution. |
🔨 Refactor rotation usage inside `PositionConstraints`.
Hi @RemiRodrigues! Apologies for the delay. A fix is available on |
Describe the bug
Hello, I have a problem with the statusBar appearance. Screenshots below describe the bug.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Keep statusBar appearence.
Screenshots

First UIViewController with white background :
Second UIViewController with dark background :

Display StatusBar's EntryView on dark UIViewController :

Close dark UIViewController :

When the StatusBar's EntryView is dismissed, the statusBar is light :

Configuration :
Additional context
I can solve the bug removnig this method on EKRootViewController class :
But this seems really a bad idea...
Thanks for your help, this pod is really helpful 👍
The text was updated successfully, but these errors were encountered: