Condividi tramite


UITraitCollection.FromDisplayGamut(UIDisplayGamut) Metodo

Definizione

Metodo factory statico per creare un nuovo UITraitCollection oggetto appropriato per l'oggetto specificato displayGamut.

[Foundation.Export("traitCollectionWithDisplayGamut:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UITraitCollection FromDisplayGamut (UIKit.UIDisplayGamut displayGamut);
static member FromDisplayGamut : UIKit.UIDisplayGamut -> UIKit.UITraitCollection

Parametri

displayGamut
UIDisplayGamut

Restituisce

Attributi

Si applica a