I'm working on an iOS application that uses a lot of UIWebView
s. Is there are way to prevent the UIWebView
from popping out to Safari (iFrame code) but still load the page?
In other words return YES
in webView:shouldStartLoadWithRequest:navigationType:
but not let the web page pop out to Safari.
EDIT:
The web view side has processes that need to be executed, which is why I need to return YES
. But the processes also inadvertently cause the application to launch the URL in Safari. I'm looking for a way to intercept that, and choose whether or not to launch the URL in Safari.