1. 程式人生 > >[UIImage imageWithContentsOfFile:@""] 內存警告

[UIImage imageWithContentsOfFile:@""] 內存警告

ade with file ont 內存 loaded doesn method gen

You will want to use the [UIImage imageWithContentsOfFile:@""] method, as that doesn‘t cache images. imageNamed: caches any images that are loaded through it.

[UIImage imageWithContentsOfFile:@""] 內存警告