Поделиться через


CPApplicationDelegate.GetSupportedInterfaceOrientations Метод

Определение

Возвращает битовую маску поддерживаемых ориентаций для указанного forWindowобъекта .

[Foundation.Export("application: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 GetSupportedInterfaceOrientations (UIKit.UIApplication application, UIKit.UIWindow forWindow);
abstract member GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask
override this.GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask

Параметры

application
UIApplication

Ссылка на UIApplication, которая вызвала этот метод делегата.

forWindow
UIWindow

Возвращаемое значение

Атрибуты

Применяется к