2
  • I am using the QR Reader App to scan the QR Code with the link inside(for example: http://example.com)

  • Then example.com will be open in QR Reader in-app browser (I don't know what is it).

  • In my website, I want to have a button called "Open In Default Browser" (Safari or Chrome), and touch this button to launch example.com in my default browser on phone (not in-app browser).

  • Any suggestion? Many thanks!
Toai
  • 139
  • 1
  • 4

1 Answers1

0
NSString *apikey = @"your url";
NSURL *url = [NSURL URLWithString:apikey];
[[UIApplication sharedApplication] openURL:url];
Bijender Singh Shekhawat
  • 3,934
  • 2
  • 30
  • 36