Change childForStatusBarStyle

This commit is contained in:
Jed Fox 2022-11-15 13:35:33 -05:00
parent 60efe4f023
commit ff5a0876c8
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class AdaptiveStatusBarStyleNavigationController: UINavigationController {
// Make status bar style adaptive for child view controller
// SeeAlso: `modalPresentationCapturesStatusBarAppearance`
override var childForStatusBarStyle: UIViewController? {
visibleViewController
topViewController
}
}