开发者

Linking the Developer Page at the appStore from an iPhone App

开发者 https://www.devze.com 2023-01-05 04:39 出处:网络
So I know how to open an app page on the appStore from within my iPhone app. Is there a way to op开发者_C百科en my company\'s page? On iTunes on my mac I can do that, but using that URL in the iPhone

So I know how to open an app page on the appStore from within my iPhone app.

Is there a way to op开发者_C百科en my company's page? On iTunes on my mac I can do that, but using that URL in the iPhone I can't (or I'm not doing it right).

Thanks in advance.


This is a great article on this subject: http://bjango.com/articles/ituneslinks/

Quote from the article:

http://itunes.com/apps/developer — Search for all apps by developer

It’s also possible to link to all apps by one developer, but there’s a catch. On a Mac or a PC, this will open iTunes and land on a developer’s page. On an iPhone or iPod touch it’ll do a bit of a dance, opening MobileSafari, then iTunes, then the App Store app. Not ideal, a bit ugly and slow, but it gets there in the end.

If you’d like to hide the redirections and speed up the process, Apple recommend using NSURLConnection.


this prevents it to do little dance it does normally

 NSString *iTunesLink = @"itms-apps://itunes.com/apps/companyname/";
 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];


I used such URL in iOS 8, 9:

itms-apps://itunes.apple.com/developer/tivogi/id507966848

where tivogi is the developer's account name and id507966848 is the your developer id.

You can find correct link for you in the any browser: just go to developer page, copy url, and change scheme to itms-apps


In IOS SDK 6 and above, use below link for open developer link from app

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?artistId=524402507"]];

........

0

精彩评论

暂无评论...
验证码 换一张
取 消