Cannot add image to cache in watchOS 2?

910 Views Asked by At

In watchOS 2 WKInterfaceDevice class, there is no declarations of -addCachedImage:. If you want to use it, it will mark your code as not available.

It has a cachedImages property, though. I wonder where is the API to cache images in watchOS 2? Thank you for your help!

This happens for watchOS 2 beta 4 and below.

1

There are 1 best solutions below

0
On BEST ANSWER