if (iOS7)
{
imgName = [imgName stringByAppendingString:@"@2x.png"];
}
NSString *filePath = [[NSBundle mainBundle].resourcePath stringByAppendingPathComponent:imgName];
imgView.image = [UIImage imageWithContentsOfFile:filePath];
{
imgName = [imgName stringByAppendingString:@"@2x.png"];
}
NSString *filePath = [[NSBundle mainBundle].resourcePath stringByAppendingPathComponent:imgName];
imgView.image = [UIImage imageWithContentsOfFile:filePath];
本文标题:imageWithContentsOfFile
本文链接:https://www.haomeiwen.com/subject/kebcgttx.html
网友评论