經安全檢測,此網站為安全網站,請放心前往原始網址!

iphone - URL encode an NSString - Stack Overflow

I have an NSString in which I need to URL encode the & and not just the spaces, how do I do this? ... New APIs have been added since the answer was selected; You can now use NSURLUtilities. Since different parts of URLs allow different characters, use the

stackoverflow.com

網址安全性掃描由 google 提供