UITabBarControllerDelegate.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.
[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