Instance Method

addCachedImage:name:

Caches the image using the provided name.

Declaration

- (BOOL)addCachedImage:(UIImage *)image name:(NSString *)name;

Discussion

Each cached image must have a unique name. Adding an image with the same name as an existing image replaces the existing image with the new image.

See Also

watchOS 1 Properties and Methods

cachedImages

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

addCachedImageWithData:name:

Caches the image data using the provided name.

removeAllCachedImages

Removes all the cached images from the cachedImages dictionary.

removeCachedImageWithName:

Removes the cached image with the specified name.