TabBarController
@MainActor
open class TabBarController : UITabBarController, TabBarDelegate
-
打印异常
Declaration
Swift
@MainActor public static func printError(_ description: String)
-
当前tabBarController是否存在“More"tab
Declaration
Swift
@MainActor public static func isShowingMore(_ tabBarController: UITabBarController?) -> Bool
-
Should hijack select action or not.
Declaration
Swift
@MainActor open var shouldHijackHandler: ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))?
-
Hijack select action.
Declaration
Swift
@MainActor open var didHijackHandler: ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> Void)?
-
Observer tabBarController’s selectedViewController. change its selection when it will-set.
Declaration
Swift
@MainActor override open var selectedViewController: UIViewController? { get set }
-
Observer tabBarController’s selectedIndex. change its selection when it will-set.
Declaration
Swift
@MainActor override open var selectedIndex: Int { get set }
-
Customize set tabBar use KVC.
Declaration
Swift
@MainActor override open func viewDidLoad()
-
Undocumented
Declaration
Swift
@MainActor override open func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem)
-
Undocumented
Declaration
Swift
@MainActor override open func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem])
-
Undocumented
Declaration
Swift
@MainActor override open func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool)