mardi 3 juin 2014

consume json webservice from IOS with null


Vote count:

0




I use code like the following



NSString *urlAsString = [NSString stringWithFormat:@"urladdress", coordinate.latitude, coordinate.longitude, PAGE_COUNT, API_KEY];
NSURL *url = [[NSURL alloc] initWithString:urlAsString];
NSLog(@"%@", urlAsString);


but i have web service method that take string as parmaeter (may be null or empty) how to create the url of this method


i tried http://ift.tt/1o49XbU


how to continue to add the parameters



asked 27 secs ago

AMH

1,395





Aucun commentaire:

Enregistrer un commentaire