I am looking for some way to automatically launch the app store on an iPhone from within an app. For example, the user logs in using the app, and the server requires a specific version of the app. Can I open the app store, or grab the upgrade automa开发者_运维问答tically, or does the user need to go through the app store manually?
Thanks in advance, Conrad
The user needs to go through the AppStore to get the upgrade. The user might choose not to upgrade the app for whatever reason and you can't force update.
Of course, you can navigate to the AppStore page and offer the choice to the user.
Have you tried [[UIApplication sharedApplication] openURL:@"itms://..."]
with the URL for your app?
精彩评论