UIWebView doesn't seem to like RSS links


i've rather frustrating issue, can't uiwebview load links fo encounted formated like:

http://feedproxy.google.com/~r/theboygeniusreport/~3/95jeyv6zcmk

regular urls work fine.

i'm assuming theres issue redirection haven't found useful explains whats happening or how fix it.

hoping might able me understand whats going on. i'm not total newb @ programming still new objective-c so, if keep simple possible that'd great.

thanks!

edit:
oh! if helps, discovered reason nothing happens. 400 error sent! question still remains same.
 

ok! upon further investigation, must have copy , pasted bit of white space or because link , other formed links work now.

raised new question.

got things work directly putting url in nsstring.

i'm trying though, grab link rss feed first, before sending webview.

can url fine, when pass nsurl, statement doesn't seem able see , thinks result null.

code section
code:
nsstring *link = [[stories objectatindex:storyindex] objectforkey:@"link"];    	url = [[nsurl alloc] initwithstring:link];  	nslog(@"%@",url);  	request = [[nsurlrequest alloc] initwithurl:url];  
can help? i'm sure ridiculously simple, can't seem figure out is.
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments