Quote:
Originally Posted by Alina
Hello, sorry for my bad english only talking good in french and romanian
I making a apps who send image in a website image hosting.
I have no probleme with post image all working good but after that il like to see the url of the uploaded image.
Code:
[postRequest setHTTPBody:body];
NSData *returnData = [NSURLConnection sendSynchronousRequest:postRequest returningResponse:nil error:nil];
NSString *returnString = [[NSString alloc] initWithData:returnData encoding:NSUTF8StringEncoding];
NSLog(returnString);
textField.text = (returnString); return n othing, blank
|
oops it working with NSASCIIStringEncoding