You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When presenting a STDSChallengeResponseViewController, the status bar colour is not changing to the preferredStatusBarStyle setting. i.e. when set to lightContent it shows a dark status bar.
From my testing, it looks like the view controller's preferredStatusBarStyle is set to the expected value. However, it also looks like the value is ignored, and the status bar text color is black or white depending on the navigation bar style. This is with setting UIViewControllerBasedStatusBarAppearance to YES in Info.plist.
In short, does setting barStyle = .black work for you? Setting barTintColor might let you still control the actual color of the navigation bar, I'm not sure.
I've removed preferredStatusBarStyle since it doesn't actually do anything in our case (because our UIViewControllers are in a UINavigationController). Instead, set the barStyle to .black to set the statusBarStyle to .lightContent.
Summary
When presenting a STDSChallengeResponseViewController, the status bar colour is not changing to the preferredStatusBarStyle setting. i.e. when set to lightContent it shows a dark status bar.
Code to reproduce
iOS version
iOS 12.4 (16G73)
Installation method
Carthage
SDK version
16.0.6
Other information
The text was updated successfully, but these errors were encountered: