问题
I am trying to implement a "More apps" button that redirects to the other apps that the same developer have posted on iTunes app store, for example to achieve what I am trying to do with the Temple Run developer the next code is just fine:
NSString* launchUrl = @"https://itunes.apple.com/ro/artist/imangi-studios-llc/id284899742";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: launchUrl]];
The think is, that in my case the developer has no other app posted on iTunes yet so I can not search iTunes and right click to copy the developers link...
So my question is the next one: How can I get the next two information that compose the final link:
1-imangi-studios-llc
2-id284899742
回答1:
Company / organisation name, could be find using apple membercenter. The url part is probably composed by replacing empty space with "-" and making string lowercase, eg: Imangi Studios LLC becomes imangi-studios-llc
After you add your app at iTunes connect, you will be able to see id. Just open newly created app in iTunes connect and check url. It will look like this https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/284899742 and id will be id284899742
来源:https://stackoverflow.com/questions/28921211/how-to-redirect-user-to-the-developer-itunes-account-to-see-his-other-apps