我想在 WatchKit 的Image 中使用 GIF,这可能吗?
我认为这是不可能的,但也许你知道
提前致谢
P.S:我是法国人,所以如果你会说法语,那很适合我。
最佳答案
如果您检查WKInterfaceImage
docs ,在“为一系列图像设置动画”下,您将看到以下内容:
You create animated images from a set of local image file resources or from existing UIImage objects. You use them to construct a new UIImage object, which you then assign to your WKInterfaceImage object.
所以,是的,你可以做到。但是您需要提供一系列静态图像而不是完成的 GIF。
关于ios - 我们可以在 WKImageView 中使用 GIF 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30221886/