So this question requires more web knowledge than cocoa knowledge. I know only the basics of web am stumped. This is also a bit of an edge case (although my sample size is small).
I'm playing around with a feature to cross-post videos from youtube into our app.
So I have a browserController
and I load http://m.youtube.com
and it loads fine. shouldStartLoadWithRequest
is called upon initial load. However, if I click a link to go to a video's page shouldStartLoadWithRequest
is never called.
I've tried out a couple other sites (nba.com and vimeo.com) and they work as expected, shouldStartLoadWithRequest
IS called when a link is clicked, so that leads me to believe there's nothing wrong with my browserController
nor my UIWebView
code and it's something particular to the way the youtube site is handling it's link clicks.
Any idea what's going on and how to either make sure shouldStartLoadWithRequest
is called or else listen to the link click otherwise?
PS. I had no idea how to tag this so that it refers to which web frameworks this might involve.