How can I concatenate an NSString
URL? For example:
http://isomewebsite.com/username=[someuservariable]&password=[somevariable]
How can I concatenate an NSString
URL? For example:
http://isomewebsite.com/username=[someuservariable]&password=[somevariable]
You can use the method stringWithFormat of NSString:
Try with below code.
Here is the blog tutorial will help you know more about Handling url authentication challenges accessing password protected servers
Try this excellent post - URL encoding an NSString on iOS