Skip to content

Conversation

@bonyadmitr
Copy link

@bonyadmitr bonyadmitr commented Feb 7, 2020

it is better to implement logic on UIApplication.willChangeStatusBarFrameNotification notification for good animation, but it will take lots changes for frames. this one is hot fix and will change frame at the end of status bar animation.

It can be tested in simulator by Hardware - Toggle in-call Status bar

Screen Shot 2020-02-07 at 13 43 28

@kukushi
Copy link
Owner

kukushi commented Feb 8, 2020

@bonyadmitr Thanks for your PR. How could I reproduce this case? Using "Toggle in-call Status bar" doesn't seem to trigger the function call?

@bonyadmitr
Copy link
Author

@bonyadmitr Thanks for your PR. How could I reproduce this case? Using "Toggle in-call Status bar" doesn't seem to trigger the function call?

I'm a little bit confused. It should be called.
didChangeStatusBarFrameNotification observer must be called.
I fixed a bug in my project by this observer.

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

Successfully merging this pull request may close these issues.

2 participants