私はurlという名前の文字列を持っています
NSString *url = @"http://sound17.mp3pk.com/indian/barfi/%5BSongs.PK%5D%20
Barfi%20-%2001%20-%20Barfi!.mp3";
今、私はこの曲をダウンロードしています。これを保存するには、ファイル名を指定する必要があります%5BSongs.PK%5D%20
Barfi%20-%2001%20-%20Barfi!.mp3
。 url ですが、URL フォーマッタで構成することはできません。
私がしていることは
Dest_path=[NSHomeDirectory() stringByAppendingString:@"/Documents/a3"];
result =[Dest_path stringByAppendingString:@".mp3"];
helper = [DownloadHelper download:url withTargetPath:result withDelegate:self];