Düzenle

Aracılığıyla paylaş


UIImageAsset.FromTraitCollection(UITraitCollection) Method

Definition

Returns the image from the asset that best matches traitCollection.

[Foundation.Export("imageWithTraitCollection:")]
public virtual UIKit.UIImage FromTraitCollection (UIKit.UITraitCollection traitCollection);
abstract member FromTraitCollection : UIKit.UITraitCollection -> UIKit.UIImage
override this.FromTraitCollection : UIKit.UITraitCollection -> UIKit.UIImage

Parameters

traitCollection
UITraitCollection

Returns

Attributes

Applies to