Using stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding to URL-encode an NSString isn’t encoding the @ symbol. What’s the proper way to resolve this? Thanks.
Using stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding to URL-encode an NSString isn’t encoding the @ symbol. What’s the proper
Share
Add this after the line of code you already have (and change the receiver, etc. to your own variables):
If you want to make sure that everything is encoded, here is the best way:
(from Roger @ Iphone SDk : Issue with ampersand in the URL string)