0

I'm using WKWebView to show YouTube in my application. When I load a youtube page it's sometimes open the YouTube App in my iPhone device.

This is the code I'm using:

NSURLRequest * req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.youtube.com/"]];
[self.loginWebView loadRequest:req];

There is an option to detect the popup and prevent it?

YosiFZ
  • 7,466
  • 20
  • 105
  • 206

1 Answers1

0

I did want to post this as a comment but low rep won't let me. So, You might want to look at this topic:

Disable WKWebView for opening links to redirect to apps installed on my iPhone