Bagikan melalui


UIApplicationDelegate_Extensions.GetSupportedInterfaceOrientations Metode

Definisi

Orientasi antarmuka yang didukung oleh aplikasi.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIInterfaceOrientationMask GetSupportedInterfaceOrientations (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, UIKit.UIWindow forWindow);
static member GetSupportedInterfaceOrientations : UIKit.IUIApplicationDelegate * UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask

Parameter

This
IUIApplicationDelegate

Instans tempat metode ekstensi ini beroperasi.

application
UIApplication

Referensi ke UIApplication yang memanggil metode delegasi ini.

forWindow
UIWindow

Mengembalikan

Atribut

Berlaku untuk