NSString *path =[[NSBundle mainBundle] pathForResource:@"icon" ofType:@"png"];MyImage = [UIImage imageWithContentsOfFile:path];
本文共 194 字,大约阅读时间需要 1 分钟。
NSString *path =[[NSBundle mainBundle] pathForResource:@"icon" ofType:@"png"];MyImage = [UIImage imageWithContentsOfFile:path];
转载于:https://www.cnblogs.com/chivas/archive/2012/05/23/2514391.html