UITabBarControllerDelegate_Extensions.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.
The preferred orientation for presentation of the tab bar controller.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientation (this UIKit.IUITabBarControllerDelegate This, UIKit.UITabBarController tabBarController);
static member GetPreferredInterfaceOrientation : UIKit.IUITabBarControllerDelegate * UIKit.UITabBarController -> UIKit.UIInterfaceOrientation
Parameters
The instance on which this extension method operates.
- tabBarController
- UITabBarController
Returns
- Attributes