mutualmobile / MMDrawerController

A lightweight, easy to use, Side Drawer Navigation Controller
MIT License
6.76k stars 1.38k forks source link

Statusbar animation is broken #273

Open pronebird opened 10 years ago

pronebird commented 10 years ago

- [MMDrawerController setNeedsStatusBarAppearanceUpdateIfSupported] does not animate statusbar because when it's called during animation, the openSide property still has old value. Therefore childViewControllerForStatusBarStyle returns central controller instead of the side controller that will open.

Then in completion handler setOpenSide triggers appearance update again which changes the openSide property, but that's too late as animation already finished.

Ricardo1980 commented 9 years ago

I have exactly the same problem. Any workaround or fix?