Instance Method


Caches the image using the provided name.


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


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


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.