次の方法で共有


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

戻り値

属性

適用対象