remirobert / Dotzu

:iphone::eyes: In-App iOS Debugging Tool With Enhanced Logging, Networking Info, Crash reporting And More.
MIT License
1.8k stars 141 forks source link

Dotzu affect preferredStatusBarStyle in UIViewController #9

Closed jkyeo closed 7 years ago

jkyeo commented 7 years ago

I override preferredStatusBarStyle as .lightContent in my viewController:

override var preferredStatusBarStyle: UIStatusBarStyle {
    return .lightContent
 }

Without Dotzu injected, everything is ok. But when I use Dotzu, the statusBar style shown as .default.

remirobert commented 7 years ago

I guess it's normal, because Dotzu has its own window, with its own root view controller. I would say, if it's working without Dotzu, it's fine (it will be in the production app). If you want to have the same status bar you need to do the modification in the Dotzu framework as well.