Share via


UIViewController.TabBarController 屬性

定義

最接近的 UITabBarController 上階或 null

public virtual UIKit.UITabBarController TabBarController { [Foundation.Export("tabBarController", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.TabBarController : UIKit.UITabBarController

屬性值

預設值是 null

屬性

備註

如果這是 UIViewControllerUITabBarController 子系,這個方法會傳回該 UITabBarController

適用於