NSURL で一度に複数のパラメーターを渡す必要があるそのアプリで 1 つのアプリを開発しています。コードは次のとおりです。
responseData = [[NSMutableData data] retain];
ArrData = [NSMutableArray array];
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://rate-exchange.appspot.com/currency?from=%@&to=%@&q=%@",strfrom,strto,strgo]];
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:url]];
//NSURLRequest *request1 = [NSURLRequest requestWithURL:
//[NSURL URLWithString:@"http://rate-exchange.appspot.com/currency?from=%@&to=%@&q=1",strfrom,strto]];
上記のコードでは、複数のパラメーターを動的に渡す必要があります。出来ますか ?もしそうなら、どうやって?ありがとうございます。それでは、お元気で