UIApplication.SupportedInterfaceOrientationsForWindow(UIWindow) Method
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 set of interface orientations that are used for the view controllers in the specified window.
[Foundation.Export("supportedInterfaceOrientationsForWindow:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIInterfaceOrientationMask SupportedInterfaceOrientationsForWindow (UIKit.UIWindow window);
abstract member SupportedInterfaceOrientationsForWindow : UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask
override this.SupportedInterfaceOrientationsForWindow : UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask
- window
- UIWindow
Window from which the default interface orientations are going to be retrieved.
A bitmask indicating which orientations are supported.
- Attributes