问题描述
我正在尝试在iOS7设备上运行Xcode6下的iOS7项目。起初所有人似乎都是A-OK,但后来我注意到驻留在Images.xcassets中的所有图像都没有在运行时出现。
I'm trying to run an iOS7 project under Xcode6 on an iOS7 device. At first all seemed to be A-OK, but then I noticed that all images that reside in Images.xcassets don't show up at runtime.
我可以看到正确的设计(故事板),如果我在模拟器中运行应用程序,我会看到它们。
I can see then correctly in design (storyboard), and I see them if I run the app in the simulator.
任何人都知道如何解决这个问题?谢谢!
Anyone having an idea how to fix this? Thanks!
注意:项目在Xcode5.x上运行正常,因此它不是通常的罪魁祸首(图像名称套管不匹配)。
NOTE: the project runs fine on Xcode5.x therefore it's not the usual culprit (mismatch in the image name "casing").
附加说明:我刚试过另一个iOS7项目:同样的问题......
ADDITIONAL NOTE: I've just tried with another iOS7 project: same problem...
附加注意:我试过用在Xcode和...图像下创建的全新项目中的图像资产显示。
ADDITIONAL NOTE: I've tried using image assets in a brand new project created under Xcode and... images show up.
推荐答案
我在:
这篇关于在Xcode 6下运行iOS7项目 - 图像资产不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!