UIImageAsset.RegisterImage(UIImage, UITraitCollection) Method

Definition

Registers image with the asset and associates it with traitCollection.

[Foundation.Export("registerImage:withTraitCollection:")]
public virtual void RegisterImage (UIKit.UIImage image, UIKit.UITraitCollection traitCollection);
abstract member RegisterImage : UIKit.UIImage * UIKit.UITraitCollection -> unit
override this.RegisterImage : UIKit.UIImage * UIKit.UITraitCollection -> unit

Parameters

image
UIImage
traitCollection
UITraitCollection
Attributes

Applies to