Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试为我的 WatchKit 应用程序设置菜单。根据 Watch HIG 上的文档,图像的画布尺寸应为 80 x 80。我这样做了,将我的 MenuItem 设置为自定义,然后放入我创建的图像,但没有任何显示。我究竟做错了什么?
检查事项:
1) 图片是您的 WatchKit 应用程序包/图片目录的一部分吗?其他任何地方都行不通。
2)您是否以编程方式进行设置?如果是这样,请仔细检查您是否引用了正确的图像。