IUIApplicationDelegate.GetSupportedInterfaceOrientations 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 interface orientations supported by the app.
[Foundation.Export("application:supportedInterfaceOrientationsForWindow:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIInterfaceOrientationMask GetSupportedInterfaceOrientations(UIKit.UIApplication application, UIKit.UIWindow? forWindow);
[<Foundation.Export("application:supportedInterfaceOrientationsForWindow:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask
override this.GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- forWindow
- UIWindow
Returns
- Attributes