Düzenle

Aracılığıyla paylaş


WKInterfaceDevice.RemoveCachedImage(String) Method

Definition

Remove the image with the specified name from the device's image cache.

[Foundation.Export("removeCachedImageWithName:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveCachedImage (string name);
abstract member RemoveCachedImage : string -> unit
override this.RemoveCachedImage : string -> unit

Parameters

name
String

The identifier of the image.

Attributes

Remarks

The name should correspond with the name used in calls to AddCachedImage(UIImage, String).

Applies to