1

I just wanted to implement a feature like safari for new tab. I don't worry about session right now. As I am using UIWebView, need detect the clicked link/button/url from the website needs to opened in new tab.

I have tried following questions, but none of these working as expected. Everything is opening in the same WebView. UIWebView detect when javascript is loading a new page Opening popup links in UIWebView, possible?

Any help, much appreciated.

Prakash S
  • 11
  • 2

1 Answers1

1

May use UIWebView's delegate to detect events

-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
frogatto
  • 28,539
  • 11
  • 83
  • 129
Ishwar Hingu
  • 562
  • 7
  • 14