Implement more protocols for AdaptableNavigationController
This commit is contained in:
parent
ce10c7d6e2
commit
d321c31776
|
@ -134,3 +134,17 @@ extension AdaptableNavigationController: NavigationControllerProtocol {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@available(iOS 17.0, *)
|
||||
extension AdaptableNavigationController: BackgroundableViewController {
|
||||
func sceneDidEnterBackground() {
|
||||
(topViewController as? BackgroundableViewController)?.sceneDidEnterBackground()
|
||||
}
|
||||
}
|
||||
|
||||
@available(iOS 17.0, *)
|
||||
extension AdaptableNavigationController: StatusBarTappableViewController {
|
||||
func handleStatusBarTapped(xPosition: CGFloat) -> StatusBarTapActionResult {
|
||||
(topViewController as? StatusBarTappableViewController)?.handleStatusBarTapped(xPosition: xPosition) ?? .continue
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue