天道酬勤,学无止境

wkinterfaceimage

苹果手表上的图像(Images on apple watch)

问题 昨天我的申请被拒绝时遇到了一个问题。 图像显然没有显示在实际的Apple Watch上,但是却显示在模拟器中。 我什至尝试重置模拟器,但无法复制苹果员工遇到的问题。 因此,我只是想知道在Apple Watch上添加/显示图像的正确方法是什么,以便它们可以在实际的硬设备上正确显示? 代码: 。H @property (strong, nonatomic) IBOutlet WKInterfaceImage *imageHeliLeft; @property (strong, nonatomic) IBOutlet WKInterfaceImage *imageHeliRight; @property (strong, nonatomic) IBOutlet WKInterfaceImage *imageHeliCenter; @property (strong, nonatomic) IBOutlet WKInterfaceImage *imageObsTL; @property (strong, nonatomic) IBOutlet WKInterfaceImage *imageObsTM; @property (strong, nonatomic) IBOutlet WKInterfaceImage *imageObsTR; @property (strong

2021-06-01 11:10:30    分类:技术分享    ios   objective-c   watchkit   apple-watch   wkinterfaceimage

Images on apple watch

I ran into a problem yesterday when my application was rejected. Apparently the images are not being displayed on the actual Apple Watch, however they are being displayed in the simulator. I even tried resetting the simulator and can't replicate the problem that occurred for the apple employee. So I am just wondering what the correct way to add/display images on the apple watch is, such so that they will be displayed properly on the actual hard device? Code: .h @property (strong, nonatomic) IBOutlet WKInterfaceImage *imageHeliLeft; @property (strong, nonatomic) IBOutlet WKInterfaceImage

2021-04-30 08:13:02    分类:问答    ios   objective-c   watchkit   apple-watch   wkinterfaceimage