Change childForStatusBarStyle
This commit is contained in:
parent
60efe4f023
commit
ff5a0876c8
|
@ -14,7 +14,7 @@ class AdaptiveStatusBarStyleNavigationController: UINavigationController {
|
|||
// Make status bar style adaptive for child view controller
|
||||
// SeeAlso: `modalPresentationCapturesStatusBarAppearance`
|
||||
override var childForStatusBarStyle: UIViewController? {
|
||||
visibleViewController
|
||||
topViewController
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue