Kurdtvs-Live-Kurdish-TV-Kur.../Mastodon/Scene/Share/NavigationController/AdaptiveStatusBarStyleNavig...

17 lines
425 B
Swift

//
// AdaptiveStatusBarStyleNavigationController.swift
//
//
// Created by MainasuK Cirno on 2021-2-26.
//
import UIKit
// Make status bar style adaptive for child view controller
// SeeAlso: `modalPresentationCapturesStatusBarAppearance`
final class AdaptiveStatusBarStyleNavigationController: UINavigationController {
override var childForStatusBarStyle: UIViewController? {
visibleViewController
}
}