How do I link my app to the App Store developer page?

I tried and tried, but I can not do this work. I'm just trying to connect my app to my developer page in the App Store (so open the App Store app on the iPhone, obviously).

There must be something that I do not see. Perhaps a format problem? Can anyone help me out?

My apologies. But I looked through all the other questions, and most of them were old and implemented the same method.

NSString *iTunesLink = @"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284417350&mt=8"; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]]; 

does not work. It just opens the itunes app (which tells me that it cannot complete the request), and not the app app app app

Here is the real code I'm using

 - (IBAction)developer:(id)sender { NSString *iTunesLink = @"http://itunes.apple.com/us/artist/esoteric-development/id416932838"; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]]; } 
+4
source share
5 answers

Based on the QA 1633 Company Name Examples section, to link to your company’s applications, you just need to link to:

http://itunes.com/apps/your_company_name

For example, for MacMation applications => http://itunes.com/apps/macmation
or in code:

 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.com/apps/macmation"]]; 

I tested this URL and several others (e.g. Sega, friends' company ...). It works.
After several redirects, you get to the App Store application, listing all the applications of your company.

With the name of your company, do not forget to remove the dash so that in the end: http://itunes.com/apps/esotericdevelopment


Subsequent: The link that you get by right-clicking the company name in iTunes works in Safari (on Mac), but does not work on Mobile Safari with the same error that you described: it ends in the iTunes application with an error message.

The same behavior violation when opening from your application using this code:

 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/fr/artist/macmation/id355312244"]]; 

(Tested on iPhone on iOS 4.1)

+3
source

Here's what worked for me with iOS6 and tested on iPhone5 and iPad:

 - (IBAction)ourOtherAppsPressed:(id)sender { NSString *iTunesLink = @"itms-apps://itunes.apple.com/us/artist/samer-maaliki/id615908604"; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]]; } 

This happens right in the App Store app, not in iTunes or Safari.

+3
source

One thing I would like to modify above is to use the itms:// scheme instead of http:// . Using http:// will launch Safari and redirect to the iTunes store app. Using itms:// will take you there directly.

+2
source

I think that you are trying to send the user to your link to the application store, yes, then its simple, open this link in safari. for example, [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @ "http://www.google.co.in"]];

If not, please specify.

0
source

Source: https://habr.com/ru/post/1341936/


All Articles