0

I'm trying to figure out how to open a webpage from inside my app (not a webview). Basically the user taps a button and safari opens up with the loaded web page. I got this to work in iOS 6, but it seems that things have changed in iOS7. Below is the code that worked in iOS6.

-(IBAction)review:(id)sender
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:
                                            @"itms-apps://itunes.apple.com/us/app/appID?ls=1&mt=8"]];
}
SNV7
  • 2,563
  • 5
  • 25
  • 37

0 Answers0