tags:

views:

76

answers:

2

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 automatically, or does the user need to go through the app store manually?

Thanks in advance, Conrad

+1  A: 

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.

Franci Penov
Hmmm, I hadn't thought about that. I've just checked it out, and if you open the URL of the app in the safari browser, then it opens the app store up right away. This is a decent way to push a user to upgrade. We have somewhat non-technical users, which is why I'm looking for something automated. Cheers, c
Conradaroma
I know a lot of 'somewhat non-technical' iPhone/iPod touch users, and I have yet to see someone that has problems updating their apps.
Douwe Maan
A: 

Have you tried [[UIApplication sharedApplication] openURL:@"itms://..."] with the URL for your app?

lucius
I think that's going to be the solution. It will still require a login to the iTunes store for that user, but it's the best I can probably work with. It's really too bad that free apps can't have updates pushed to them.
Conradaroma