Instance Method

removeCachedImage(withName:)

Removes the cached image with the specified name.

Declaration

func removeCachedImage(withName name: String)

Discussion

If the system cannot find a cached image with a matching name, this call is ignored.

See Also

watchOS 1 Properties and Methods

var cachedImages: [String : NSNumber]

A dictionary containing the name and size (in bytes) of the cached images.

func addCachedImage(UIImage, name: String)

Caches the image using the provided name.

func addCachedImage(with: Data, name: String)

Caches the image data using the provided name.

func removeAllCachedImages()

Removes all the cached images from the cachedImages dictionary.