iphone - iOS : How to do proper URL encoding? - Stack Overflow

iphone - iOS : How to do proper URL encoding? - Stack Overflow

瀏覽:1183
日期:2025-09-29
You probably need to break the URL down into it's constituent parts and then URL encode the host and path but not the scheme. Then put it back together again. Create an NSURL with the string and then use the methods on it such as host, scheme, path, query...看更多