问题
From what I understand, you have to use the appname when linking which is the slug that apple generates. So, for an app like like 'Guns and Weapons Encyclopedia' the slug will be 'guns-and-weapons-encyclopedia' or it can be 'guns-weapons-encyclopedia'
So one doesn't know in advance what the name will be -- only after Apple approves and processes the app for the store.
Is there a way to generate a reliable link before the app is approved?
Thanks
回答1:
Yes, there is. You can use the app ID to generate the link. You get the ID when you register an app in the iTunes portal.
You want a link like this:
http://itunes.apple.com/app/idAAAAAAAAA
Where, AAAAAAAAA
is your app id.
回答2:
There is also one other way:
Use "appstore.com" scheme.
Your app name is "Houston, we have an issue!" you can transform it into:
(iOS) http://www.appstore.com/houstonwehaveanissue
(Mac) http://www.appstore.com/mac/houstonwehaveanissue
Rules:
lower case characters
strip whitespaces
"!¡"#$%'()*+,-./:;<=>¿?@[]^_`{|}~" characters that have to be removed
More detailed description can be found at: https://developer.apple.com/library/ios/qa/qa1633/_index.html (Creating easy-to-read short links to the App Store for your apps and company)
来源:https://stackoverflow.com/questions/5491581/link-to-an-app-in-the-app-store-before-approved