I'm seeing a bug in WatchKit where it shows a wrong image when assigned by name programmatically or from the storyboard. Am I doing anything wrong here?
image_1.png and image_10.png.image.setImageNamed("image_1")First image image_1.png is shown.
Second image image_10.png is shown.
https://github.com/evgenyneu/watch-image-glitch-demo
This bug has been submitted to Apple Bug Reporter. Apple confirmed that this is a bug.
You should definitely file a Serious Bug radar. I pulled down your sample project (great work by the way) and ran it. I'm certainly seeing the same behavior on Xcode 6.2 (6C131e).
I also moved the images into the xcassets bundle which didn't have any affect on the issue. The only thing that I noticed is that renaming the image_10 to image_11, image_12 or image_100 did fix the problem. It appears that only image_10 is the culprit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With