Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-10-2009, 12:39 AM   #2 (permalink)
Alina
iphone girl
iPhone Dev SDK Supporter
 
Alina's Avatar
 
Join Date: Jul 2009
Location: France/Romania
Posts: 24
Send a message via MSN to Alina
Default

Quote:
Originally Posted by Alina View Post
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
Alina is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,739
Threads: 89,195
Posts: 380,542
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Realtor Email List
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:25 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.