I found the following code sniplet here:
NSURL *url = [NSURL URLWithString:@"itms-apps://itunes.com/apps/???"];
[[UIApplication sharedApplication] openURL:url];
Now assume app would know if there is a new version available at the market (using own server) how to implement redirecting2/displaying correct appStore page if my app isn't at the market yet. I need to know the link before I will upload it to apple. How to know what the url it will be?