I have the following code in my WatchKit Extension
UIImage *loadingCogs = [UIImage animatedImageNamed:@"LoadingClock" duration:3.0];
[self.rowIcon setTintColor:[UIColor greenColor]];
[self.rowIcon setImage:loadingCogs];
[self.rowIcon startAnimating];
The "LoadingClock" image sequence is stored in the Assets.xcassets repository of the WatchKit App.
The images are all @2x and I have ticked watchOS for the device.
With a clean build the images do not display on the watch (or in the simulator).
if I put the images in the Assets.xcassets file of the Watchkit Extension the animated image sequence is shown on the watch and in the simulator.
I thought that with the images stored in the WatchKit App that this avoids any transfer from the iPhone to the Watch and for application performance that's exactly what I want. The purpose is defeated if I can't get the imagesequcne to load.
Does this forum group have any recommendations of what I could do to diagnose/resolve this?
- David