阅读背景:

访问OCUnit测试目标中的UIImage

来源:互联网 

I'm currently writing an image manipulation test for an iPad app. I have a resources folder inside my unit test target with a photo inside, however when I try to access it using [UIImage imageNamed:@"photo1.jpg"] no image gets returned. If I change the file name to one in the main Resources folder an image does get returned.I'm currently writing an image manipulation tes




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: