Edit

Share via


WKInterfaceDevice.CachedImages Property

Definition

Returns a dictionary of image identifiers and the associated size, in bytes, of images in the image cache.

public System.Collections.Generic.IReadOnlyDictionary<string,long> CachedImages { get; }
member this.CachedImages : System.Collections.Generic.IReadOnlyDictionary<string, int64>

Property Value

The keys are image identifiers and the values are the size, in bytes, of the associated image.

Remarks

The size of the images can be used to guide the application developer in over-writing or removing images from the image cache, which is limited to approximately 20MB.

Applies to