iosxcodewatchkitwkinterfaceimage

Custom Image on WKInterfaceMenuItem not Showing


I am trying to get my menu set up for my WatchKit app. According to the documentation on the Watch HIG, the Canvas size for the image should be 80 x 80. I did this, set my MenuItem as Custom, and put in the image I created, however nothing shows up. What am I doing wrong?enter image description here


Solution

  • Things to check:

    1) Is the image part of your WatchKit app's bundle/image catalog? Anywhere else and it won't work.

    2) Are you setting this programatically? If so, double-check that you're referencing the correct image.