WKInterfaceGroup.SetBackgroundImage Method

Definition

Overloads

SetBackgroundImage(NSData)

Sets the background image or, if passed null, clears the background image.

SetBackgroundImage(String)

Sets the background image to a cached image.

SetBackgroundImage(UIImage)

SetBackgroundImage(NSData)

Sets the background image or, if passed null, clears the background image.

[Foundation.Export("setBackgroundImageData:")]
public virtual void SetBackgroundImage (Foundation.NSData imageData);
abstract member SetBackgroundImage : Foundation.NSData -> unit
override this.SetBackgroundImage : Foundation.NSData -> unit

Parameters

imageData
NSData

The image data or null.

This parameter can be null.

Attributes

Remarks

The background image may be animated.

Applies to

SetBackgroundImage(String)

Sets the background image to a cached image.

[Foundation.Export("setBackgroundImageNamed:")]
public virtual void SetBackgroundImage (string imageName);
abstract member SetBackgroundImage : string -> unit
override this.SetBackgroundImage : string -> unit

Parameters

imageName
String

The identifier of the desired image in the device's image cache.

This parameter can be null.

Attributes

Remarks

The background image may be animated.

Applies to

SetBackgroundImage(UIImage)

[Foundation.Export("setBackgroundImage:")]
public virtual void SetBackgroundImage (UIKit.UIImage image);
abstract member SetBackgroundImage : UIKit.UIImage -> unit
override this.SetBackgroundImage : UIKit.UIImage -> unit

Parameters

image
UIImage

To be added.

This parameter can be null.

Attributes

Applies to