webView which have hyperlinks to add the target = " _blank " can not be opened.
I developing a webview-like application, but i have one problem. How to open link in new window in current application – not in safari?
Thanks for help.

@Rob Keniger The code is not running.why?
You need to set an object as the
UIDelegateof yourWebViewand in that object implement thewebView:createWebViewWithRequest:method.In your implementation of that method, you need to open a new window containing a separate
WebViewand then tell itsmainFrameto load theURLRequestpassed as a parameter to the method.Update:
I’ve looked at your code. You need to assign an object as the web view’s
UIDelegate, so add a[webView setUIDelegate:self]line intoapplicationDidFinishLaunching:.A very simple example of how to implement the delegate would be: