SparkAppStudio / WorkWeek

Track work hours automatically
1 stars 1 forks source link

status bars are not updating #167

Closed MadeByDouglas closed 6 years ago

MadeByDouglas commented 6 years ago

so i themed the status bar

however, override var preferredStatusBarStyle: UIStatusBarStyle only works on activityVC and onboardingVC for settingsVC it doesnt get called for weeklyoverviewVC it does get called, but doesnt do anything. May have to do with MX subclass also if i set dayVC which is weekly child, it does not get called

I tried setting setNeedsStatusBarAppearanceUpdate in viewDidLoad or Appear I also ensured plist setting is for viewControllers, not app wide. As for setting it app wide, i wasnt sure because onboarding always needs to be light on both themes

MadeByDouglas commented 6 years ago

i believe its because of transparant nav controllers which take over the status bar styling,

in any event i just switched to using app wide status bar styles, we dont really need them per VC