Posts

Post not yet marked as solved
8 Replies
15k Views
How do I construct a URL from a string with spaces in it?For example: http://query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.quote where symbol in ("AAPL")let text = "http:// + "query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.quote where symbol in ("AAPL")&format=json&env=http://datatables.org/alltables.env" let url = NSURL(String: text)returns url = nilIn related, what must I do re the Apple Transport policy to make this secure?Just making it https (rather than http) doesn't seem to be sufficient."
Posted
by my_o_my.
Last updated
.