标签:
NSString *str = @"http://pic92.nipic.com/file/20160323/22486259_160209631000_2.jpg";
NSLog(@"lastPathComponent = %@",[str lastPathComponent]);
ios 从url字符串中获取图片名字
原文地址:http://www.cnblogs.com/Xujg/p/5324404.html