Compartilhar via


UITraitCollection.FromDisplayGamut(UIDisplayGamut) Método

Definição

Método de fábrica estático para criar um novo UITraitCollection apropriado para o especificado 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

Parâmetros

displayGamut
UIDisplayGamut

Retornos

Atributos

Aplica-se a