UINavigationControllerDelegate.SupportedInterfaceOrientations 方法

定义

可以重写以动态指定 支持的方向 navigationController

[Foundation.Export("navigationControllerSupportedInterfaceOrientations:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIInterfaceOrientationMask SupportedInterfaceOrientations (UIKit.UINavigationController navigationController);
abstract member SupportedInterfaceOrientations : UIKit.UINavigationController -> UIKit.UIInterfaceOrientationMask
override this.SupportedInterfaceOrientations : UIKit.UINavigationController -> UIKit.UIInterfaceOrientationMask

参数

navigationController
UINavigationController

返回

属性

适用于