I'm working with a company that makes iPhone apps, and they are trying to display a webpage in a webview that they control. So all I give them is a url, and they hit it with certain parameters to customize the page that I serve back. (My page might be served in an iFrame or with some other markup that I don't know about.) The problem is that there are links on that webpage that are opening in the webview when the intent is to have those links open in mobile Safari or in another webview. I've tried changing the target of the href tag to _blank
, _self
, _parent
, and _top
to no avail.
If it's not clear, I have no control over the app. So I can't try something like [UIApplication openURL:[NSURL URLWithString:myLink]]
. I only have control over the contents of the page I'm returning.
Any suggestions?