Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to go to the app store (from within app) programmatically?

After clicking on a UIView I want to take the user of my app OUT of my app and to another app on the app store. How do i do it?

like image 697
RexOnRoids Avatar asked Mar 22 '10 09:03

RexOnRoids


People also ask

How do I navigate to the App Store?

It's the blue button in the bottom-right corner of your iPhone's keyboard. Find an app you like. You may have to scroll through the apps listed on this page or re-enter a new search query to do so. You can also go back to one of the tabs visited previously and tap on an app you like.

How do I find my App Store URL?

Hi, There is a link for the app page of appstore, in my app. So I want to know the url address of the page. So I goto iTunes connect, and follow the path as iTunes Connext-> App Store-> App Information-> Additional Information -> View on App Store.


1 Answers

NSString *buyString=@"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=APP_ID&mt=8";

NSURL *url = [[NSURL alloc] initWithString:buyString];
[[UIApplication sharedApplication] openURL:url];
[url release];

like image 162
Tuomas Pelkonen Avatar answered Nov 13 '22 10:11

Tuomas Pelkonen