建议
1 小图片 放在Images,xcassets 中
2 大图片 放在Supporting Files 中
// 会缓存
imageNamed:
// 不会缓存
imageWithContentOfFile:
[[NSBundle mainBundle] pathForResource: ofType:]
建议
1 小图片 放在Images,xcassets 中
2 大图片 放在Supporting Files 中
// 会缓存
imageNamed:
// 不会缓存
imageWithContentOfFile:
[[NSBundle mainBundle] pathForResource: ofType:]