:https://somesite.com/search/name?name=%SEARCH_KEYWORD%のObjective-C - フォーマットGETリクエスト</p> <p>私の要求のURLが見えるようになっているGET要求のURLに、そのような%としてJOHNの%を文字列パラメータを渡すためのルールは何
は試してみてください#1 :私はこの
NSURL* url = [NSURL URLWithString:[NSString stringWithFormat:@"https://somesite.com/search/name?name=%%%@%%",SEARCH_KEYWORD]];
O/Pでした:ゼロ
は#2を試してください。
NSURL* url = [NSURL URLWithString:[NSString stringWithFormat:@"https://somesite.com/search/name?name=%JOE%"]];
** O/P:
https://somesite.com/search/name?name=JOE
任意の提案ですか?
ありがとうございました。魅力的でした。 –