Today I will show you a simple function that launches the App Store from your application.
First of all you need to know your app's link for example looking for it in iTunes. And then write a code like this:
-(IBAction) gotoFlightInstrument {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/es/app/instrumental-flight-vuelo/id413551896?mt=8"]];
}
where
"http://itunes.apple.com/es/app/instrumental-flight-vuelo/id413551896?mt=8
is my iTunes app link.
Hope help!
Bye
No comments:
Post a Comment