当服务器给的图片地址还有中文,怎么办?

it2024-12-21  5

NSString *orginImageUrl = @"http://119.145.140.214:8080//images/studio/1f1c0158f0b526d50000/1482390731331主图.jpg"; NSString * imageUrl = [orginImageUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

end!

转载于:https://www.cnblogs.com/yulongjiayuan/p/6223256.html

相关资源:数据结构—成绩单生成器
最新回复(0)