Modifier

Partager via


UITabBarControllerDelegate.GetPreferredInterfaceOrientation Method

Definition

The preferred orientation for presentation of the tab bar controller.

[Foundation.Export("tabBarControllerPreferredInterfaceOrientationForPresentation:")]
[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.UITabBarController tabBarController);
abstract member GetPreferredInterfaceOrientation : UIKit.UITabBarController -> UIKit.UIInterfaceOrientation
override this.GetPreferredInterfaceOrientation : UIKit.UITabBarController -> UIKit.UIInterfaceOrientation

Parameters

tabBarController
UITabBarController

Returns

Attributes

Applies to