Share via


UITabBarControllerDelegate.GetPreferredInterfaceOrientation Method

Definition

The preferred orientation for presentation of the tab bar controller.

[Foundation.Export("tabBarControllerPreferredInterfaceOrientationForPresentation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientation(UIKit.UITabBarController tabBarController);
[<Foundation.Export("tabBarControllerPreferredInterfaceOrientationForPresentation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPreferredInterfaceOrientation : UIKit.UITabBarController -> UIKit.UIInterfaceOrientation
override this.GetPreferredInterfaceOrientation : UIKit.UITabBarController -> UIKit.UIInterfaceOrientation

Parameters

tabBarController
UITabBarController

Returns

Implements

Attributes

Applies to