阅读背景:

Any way to get a Cached UIImage from my 'Documents' directory?

来源:互联网 

I know that the -imageNamed: method returns a Cached UIImage, but the problem is that my image file is stored in 'Documents', and the -imageNamed: method seems to only search the Bundle... I am currently (reluctantly) using -imageWithContentsOfFile: to get my image from 'Documents' but it is not the same...Scaling up/down a UIImageView containing the resulting image is choppy and awkward. Scaling the same UIImageView containing an image created with -imageNamed: however appears very smooth. So, again: I know that the -imageNamed: method returns a C




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

分享到: