この文字列からURLのみを分離する方法。"": "http://flut.psites.info/api/uploads/13602519341.jpg"} "
私はこのようにしています:
arr = [returnString componentsSeparatedByString:@"image"];
NSLog(@"********%@",arr);
self.mImgUrlStr = [arr objectAtIndex:1];
NSLog(@"imgUrl: %@",self.mIm gUrlStr);
これは元の文字列です{"message": "true"、 "image": "http://flut.psites.info/api/uploads/13602544571.jpg"} "
これから必要なURLのみ。