Reputation: 739
I have a setup like so:
I want it so that when I click a link on the app (a normal a-tag with a href attribute), iPad would open the link in Safari and NOT in the app itself.
Now it creates a lockdown state where the user cannot go back to the app since there are no back buttons and the address from the a-tag is opened.
Is this possible? I know about the UIWebView (or such) that can be used in compiled apps, but it doesn't help here, naturally.
Upvotes: 0
Views: 690
Reputation: 4091
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://www.google.com"]];
Upvotes: 1