UITabBarSelection 委托

定义

与事件关联的 ShouldSelectViewController 委托。

public delegate bool UITabBarSelection(UITabBarController tabBarController, UIViewController viewController);
type UITabBarSelection = delegate of UITabBarController * UIViewController -> bool

参数

tabBarController
UITabBarController

与该事件关联的 UITabBarController

viewController
UIViewController

UIViewController应用程序用户选择的选项卡的 。

返回值

适用于