다음을 통해 공유


UINavigationControllerDelegate.GetPreferredInterfaceOrientation 메서드

정의

의 기본 인터페이스 방향을 설정하도록 재정의 navigationController할 수 있습니다.

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

매개 변수

navigationController
UINavigationController

반환

특성

적용 대상