1. Objective-C 中
@H_301_8@UIImage *image = [[UIImage imageNamed:@"imagePath"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; @H_301_8@
@H_301_8@2. swift 3.0 中 @H_301_8@ @H_301_8@let image = UIImage(named:"imagePath")?.withRenderingMode(.alwaysOriginal) 原文链接:https://www.f2er.com/swift/322239.html