Closed danielrhammond closed 10 years ago
Isn't this already merged with https://github.com/twotoasters/TWTSideMenuViewController/pull/10 ?
Yeah sorry I tried to keep them separate, but I didn't realize #10 was coming from master on my fork and merged this in there.
I think this is what Apple seems to intend you to do when you're creating container view controllers rather than calling preferredStatusBarStyle directly on a child view controller.
It gives you a lot more flexibility allows you to either define the -preferredStatusBarStyle in the main/menu controllers and it will work as before or have them just return another childViewControllerForStatusBarStyle (ie. my main view controller is a navigation controller and I want to either return light or dark depending on the top view controller)