UIImageAsset.RegisterImage(UIImage, UITraitCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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