Defining a line for buying your application from the application (chicken and egg)

Is it possible to programmatically find that the URL to purchase the application should be based on the package identifier? Can you request itunes for this?

If not, how are you going to get it before you have an Apple-approved app?

The reason I ask is that I read the stream asking for user ratings from applications, etc., and the part of the code that was posted was

- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex{  
if (buttonIndex == 0) {
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=YOUR_APP_ID&onlyLatestVersion=false&type=Purple+Software"]];
}
if (buttonIndex == 1) {
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"HTTP_STRING_TO_PURCHASE_YOUR_APP"]];
}
}

The confusing part: @ "HTTP_STRING_TO_PURCHASE_YOUR_APP" How can this be obtained / determined before the application is in the store? Just work on what I can imagine is to have some kind of configuration file hosted on my server that will provide this information back to the application after the application is approved.

Am I missing something guys?

Thanks a lot Code

+3
source share
1 answer

iTunesConnect ( / ) ID iTunesConnect. , . "" " " URL. :

http://itunes.apple.com/us/app/app-name/id123456789?mt=8&ls=1

9- id - , . URL- iTunes, , ..

+3

All Articles