简体   繁体   English

在iOS应用中查找图像资源(XCode 4.2)

[英]Finding image resource in iOS app (XCode 4.2)

This feels like a silly question but I'm stumped. 这听起来像一个愚蠢的问题,但我很沮丧。 I working on an iOS app using XCode 4.2 and I can't find an image file anywhere in the project. 我使用XCode 4.2开发iOS应用程序,但在项目中的任何地方都找不到图像文件。 The image filename is passed to UIImage imageNamed: so it has to be somewhere local (not downloading it from remote server). 图像文件UIImage imageNamed:传递给UIImage imageNamed:因此它必须位于本地(而不是从远程服务器下载)。 What's the best way to find the image? 查找图像的最佳方法是什么?

In my own iOS projects it's trivially easy to locate images: look in the Resources group in the project directory. 在我自己的iOS项目中,查找图像非常容易:在项目目录的Resources组中查找。 I've inherited this application and looking in Resources turns up nothing. 我已经继承了此应用程序,在参考资料中找不到任何内容。

导航面板的底部有一个输入字段,用于过滤显示的内容

尝试Supporting Files

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM