UINavigationControllerDelegate.GetPreferredInterfaceOrientation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Can be overridden to set the preferred interface orientation of the 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
Parameters
- navigationController
- UINavigationController
Returns
- Attributes