iOS Question UIViewControllerBasedStatusBarAppearance=true and SideMenu

Semen Matusovskiy

Well-Known Member
Licensed User
Hi, guys --

Because Apple removed status bar window, I set UIViewControllerBasedStatusBarAppearance=true and subclassed UINavigationController and UIViewController to process preferredStatusBarStyle and prefersStatusBarHidden events.

In general all is fine. But I have a trouble, when I change SideMenu controller to ordinary NavigationController. For a short time status bar becomes white by unknown reasons.

Maybe IOS sends preferredStatusBarStyle to "something" (can't imagine to what).
Maybe App.KeyController = ... does animation Any ideas ?
 

Attachments

  • test.zip
    6.4 KB · Views: 122
Last edited:
Top