- [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.
- [MMDrawerController setNeedsStatusBarAppearanceUpdateIfSupported]
does not animate statusbar because when it's called during animation, theopenSide
property still has old value. ThereforechildViewControllerForStatusBarStyle
returns central controller instead of the side controller that will open.Then in completion handler
setOpenSide
triggers appearance update again which changes theopenSide
property, but that's too late as animation already finished.