| 1 |
//
|
|
| 2 |
// RouteComposer
|
|
| 3 |
// TabBarViewController+Extension.swift
|
|
| 4 |
// https://github.com/ekazaev/route-composer
|
|
| 5 |
//
|
|
| 6 |
// Created by Eugene Kazaev in 2018-2022.
|
|
| 7 |
// Distributed under the MIT license.
|
|
| 8 |
//
|
|
| 9 |
// Become a sponsor:
|
|
| 10 |
// https://github.com/sponsors/ekazaev
|
|
| 11 |
//
|
|
| 12 |
|
|
| 13 |
import Foundation
|
|
| 14 |
import UIKit
|
|
| 15 |
|
|
| 16 |
/// - The `UITabBarController` extension is to support the `ContainerViewController` protocol
|
|
| 17 |
extension UITabBarController: ContainerViewController {
|
|
| 18 |
|
|
| 19 |
public var canBeDismissed: Bool {
|
80x |
| 20 |
viewControllers?.canBeDismissed ?? true
|
80x |
| 21 |
}
|
80x |
| 22 |
|
|
| 23 |
}
|
|