I have an iphone app, and when there are upgrades available, I want to prompt the user to upgrade, and if they click upgrade, I want to redirect them to the apple store. How is this done?
Thanks
Apple documents the process here: http://developer.apple.com/library/ios/#qa/qa2008/qa1629.html
The basics boils down to using an NSURL to open an iTunes link:
NSString *iTunesLink = @"http://itunes.apple.com/us/app/warehouse51/id364201184?mt=8";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
However, I don't believe there is a way to direct to the upgrade tab.
Note: phobos links are generally outdated, so ignore that your link won't look like the example in Apple's doc. It will generally look like the one in my updated example here.
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