set UIViewControllerBasedStatusBarAppearance to NO

status bar will always appear in light mode