UISplitViewControllerDelegate_Extensions.GetPreferredInterfaceOrientationForPresentation 方法

定义

返回呈现 splitViewController时要使用的首选用户界面方向。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientationForPresentation (this UIKit.IUISplitViewControllerDelegate This, UIKit.UISplitViewController splitViewController);
static member GetPreferredInterfaceOrientationForPresentation : UIKit.IUISplitViewControllerDelegate * UIKit.UISplitViewController -> UIKit.UIInterfaceOrientation

参数

This
IUISplitViewControllerDelegate

此扩展方法操作的实例。

splitViewController
UISplitViewController

指定将在屏幕上显示的拆分视图控制器。

返回

属性

适用于