Make a link to open in Safari instead of a browser in the application

I have a problem with QR readers. I encode the url in a QR code. When read by many iPhone applications, they will open the URL in the WebView in the application.

I want to open a vcard in which these internal things simply won’t be executed - the page remains blank, and when opened directly in safari everything works fine.

So my question is: Is there a way to exit WebView and open safari?

Relationship Nik

+4
source share
3 answers

No, there is no way to do this, you are at the mercy of the creators of the applications.

+2
source
NSURL *url = [NSURL URLWithString:@"http://www.google.com"]; if (![[UIApplication sharedApplication] openURL:url]) NSLog(@"%@%@",@"Failed to open url:",[url description]); 
0
source

While I agree with @rjstelling ... try QRafter by Kerem Erkan - you can open the URL specified in the QR code using the application’s web browser or in Safari.

0
source

All Articles