UITabBarControllerDelegate_Extensions.GetPreferredInterfaceOrientation 方法

定义

用于表示选项卡栏控制器的首选方向。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientation (this UIKit.IUITabBarControllerDelegate This, UIKit.UITabBarController tabBarController);
static member GetPreferredInterfaceOrientation : UIKit.IUITabBarControllerDelegate * UIKit.UITabBarController -> UIKit.UIInterfaceOrientation

参数

This
IUITabBarControllerDelegate

此扩展方法操作的实例。

tabBarController
UITabBarController

返回

属性

适用于