Share via


IUITabBarControllerDelegate.GetPreferredInterfaceOrientation Method

Definition

The preferred orientation for presentation of the tab bar controller.

[Foundation.Export("tabBarControllerPreferredInterfaceOrientationForPresentation:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientation(UIKit.UITabBarController tabBarController);
[<Foundation.Export("tabBarControllerPreferredInterfaceOrientationForPresentation:")>]
[<Foundation.OptionalMember>]
[<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

Attributes

Applies to