I've used several apps now that launch the itunes store directly from the app. I'm even using some on my 2.1 iPod 2G.
I know there's a bug in 2.1 that prevents appstore links from working in safari, but somehow people are launching the appstore directly, not even through safari.
How do you do this? Is it an undocumented openURL feature?
To be extremely concise:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.com/apps/appname"]];
If you want to send to all the apps for a developer, use
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.com/apps/developername"]];
These work for iOS 4.1
See Also How to link to apps on the app store
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With