UITabBarControllerDelegate.ShouldSelectViewController 方法

定义

指定的 UIViewController 是否应处于活动状态。

[Foundation.Export("tabBarController:shouldSelectViewController:")]
public virtual bool ShouldSelectViewController (UIKit.UITabBarController tabBarController, UIKit.UIViewController viewController);
abstract member ShouldSelectViewController : UIKit.UITabBarController * UIKit.UIViewController -> bool
override this.ShouldSelectViewController : UIKit.UITabBarController * UIKit.UIViewController -> bool

参数

tabBarController
UITabBarController
viewController
UIViewController

返回

属性

适用于