Share via


IUITabBarControllerDelegate.ShouldSelectViewController Method

Definition

Whether the specified UIViewController should be made active.

[Foundation.Export("tabBarController:shouldSelectViewController:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldSelectViewController(UIKit.UITabBarController tabBarController, UIKit.UIViewController viewController);
[<Foundation.Export("tabBarController:shouldSelectViewController:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldSelectViewController : UIKit.UITabBarController * UIKit.UIViewController -> bool
override this.ShouldSelectViewController : UIKit.UITabBarController * UIKit.UIViewController -> bool

Parameters

tabBarController
UITabBarController
viewController
UIViewController

Returns

Attributes

Applies to