共用方式為


UITabBarController.ItemSelected(UITabBar, UITabBarItem) 方法

定義

選取 時呼叫的 UITabBarItem 委派方法。

[Foundation.Export("tabBar:didSelectItem:")]
public virtual void ItemSelected (UIKit.UITabBar tabbar, UIKit.UITabBarItem item);
abstract member ItemSelected : UIKit.UITabBar * UIKit.UITabBarItem -> unit
override this.ItemSelected : UIKit.UITabBar * UIKit.UITabBarItem -> unit

參數

tabbar
UITabBar
屬性

適用於