共用方式為


UIPageViewControllerDelegate.GetPreferredInterfaceOrientationForPresentation 方法

定義

UIPageViewController 的慣用方向。

[Foundation.Export("pageViewControllerPreferredInterfaceOrientationForPresentation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientationForPresentation (UIKit.UIPageViewController pageViewController);
abstract member GetPreferredInterfaceOrientationForPresentation : UIKit.UIPageViewController -> UIKit.UIInterfaceOrientation
override this.GetPreferredInterfaceOrientationForPresentation : UIKit.UIPageViewController -> UIKit.UIInterfaceOrientation

參數

pageViewController
UIPageViewController

傳回

屬性

適用於