imageNamed , imageWithContentsOfFile , initWithContentsFile 三种图片加载方式的区别
UIImage常用的加载图片有3种方式:p_w_picpathNamed,p_w_picpathWithContentsOfFile,initWithContentsFile.p_w_picpathNamed:UIImagep_w_picpath=[UIImagep_w_picpathNamed:@"p_w_picpath.gif"].得到的对象是autoRelease的。这个方法有点特殊,它在生