UIPageViewControllerDelegate.GetPreferredInterfaceOrientationForPresentation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
返回
- 属性