views:

27

answers:

1
+1  Q: 

Link to App Store

What's the link to my app on App Store? I want to input only the App ID.

[[UIApplication sharedApplication]
 openURL:[NSURL URLWithString:@"???"]];
+1  A: 
NSString *idString = @"380886386";
NSString *countrtyString = @"us";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://itunes.apple.com/%@/app/id%@?mt=8", countrtyString, idString]]];
Michael Kessler