문제
내가 만드는 무료 버전의 내 아이폰 게임입니다.내가 원하는 버튼 내부에 무료 버전은 사람들은 유료 버전에서 저장합니다.내가 사용하는 경우 표준 링크
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=300136119&mt=8
아이폰 여 먼저 사파리,그리고 다음 응용 프로그램은 저장소입니다.나는 다른 애플리케이션을 사용하는 앱 스토어 직접 그래서 나는 그것이 가능합니다.
어떤 아이디어가?는 무엇입 URL Scheme app store?
해결책
2016-02-02에 편집
iOS 6에서 시작합니다 SkstoreProductViewController 수업이 소개되었습니다. 앱을 떠나지 않고 앱을 연결할 수 있습니다. 코드 스 니펫 스위프트 3.x/2.x 그리고 대상 c ~이다 여기.
ㅏ SkstoreProductViewController Object는 사용자가 App Store에서 다른 미디어를 구매할 수있는 상점을 제시합니다. 예를 들어, 앱은 사용자가 다른 앱을 구매할 수 있도록 상점을 표시 할 수 있습니다.
iTunes 링크 링크 링크를 사용하여 App Store의 앱으로 직접 고객을 운전하면 웹 사이트 또는 마케팅 캠페인에서 직접 App Store의 앱에 쉽게 액세스 할 수있는 방법을 고객에게 제공 할 수 있습니다. iTunes 링크 생성은 간단하며 고객을 단일 앱, 모든 앱 또는 회사 이름을 지정한 특정 앱으로 지시 할 수 있습니다.
특정 응용 프로그램으로 고객을 보내려면 : http://itunes.com/apps/appname
App Store에있는 앱 목록으로 고객을 보내려면 다음과 같습니다. http://itunes.com/apps/developername
URL에 포함 된 회사 이름으로 고객을 특정 앱으로 보내려면 다음과 같습니다. http://itunes.com/apps/developername/appname
추가 메모 :
당신은 교체 할 수 있습니다 http://
~와 함께 itms://
또는 itms-apps://
리디렉션을 피하기 위해.
이름 지정에 대한 정보는 Apple QA1633을 참조하십시오.
https://developer.apple.com/library/content/qa/qa1633/_index.html.
편집 (2015 년 1 월 기준) :
itunes.com/apps 링크는 appstore.com/apps로 업데이트되어야합니다. 업데이트 된 위의 QA1633을 참조하십시오. 새로운 QA1629 앱에서 매장을 시작하기위한 이러한 단계와 코드를 제안합니다.
- 컴퓨터에서 iTunes를 시작하십시오.
- 연결하려는 항목을 검색하십시오.
- iTunes의 항목 이름을 마우스 오른쪽 버튼으로 클릭하거나 제어 클릭 한 다음 팝업 메뉴에서 "iTunes Store URL을 복사"를 선택하십시오.
- 응용 프로그램에서
NSURL
복사 된 iTunes URL이있는 객체를 한 다음이 개체를 다음으로 전달합니다.UIApplication
sopenURL
: App Store에서 항목을 열 수있는 방법.
샘플 코드 :
NSString *iTunesLink = @"itms://itunes.apple.com/app/apple-store/id375380948?mt=8";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
스위프트 4.2
let urlStr = "itms-apps://itunes.apple.com/app/apple-store/id375380948?mt=8"
if #available(iOS 10.0, *) {
UIApplication.shared.open(URL(string: urlStr)!, options: [:], completionHandler: nil)
} else {
UIApplication.shared.openURL(URL(string: urlStr)!)
}
다른 팁
앱 스토어에 직접 앱을 열려면 다음을 사용해야합니다.
ITMS-APPS : // ...
이렇게하면 장치에서 App Store 앱을 직접 엽니 다. 먼저 iTunes로 이동하는 대신 App Store 만 열면 (ITMS : //)
도움이되기를 바랍니다.
편집 : 2017 년 4 월. ITMS-APPS : // 실제로 iOS10에서 다시 작동합니다. 나는 그것을 테스트했다.
편집 : 2013 년 4 월. 이것은 더 이상 iOS5 이상에서 작동하지 않습니다. 그냥 사용하십시오
https://itunes.apple.com/app/id378458261
그리고 더 이상 리디렉션이 없습니다.
iOS 6부터 시작하여 SkstoreProductViewController 수업.
스위프트 3.x:
func openStoreProductWithiTunesItemIdentifier(identifier: String) {
let storeViewController = SKStoreProductViewController()
storeViewController.delegate = self
let parameters = [ SKStoreProductParameterITunesItemIdentifier : identifier]
storeViewController.loadProduct(withParameters: parameters) { [weak self] (loaded, error) -> Void in
if loaded {
// Parent class of self is UIViewContorller
self?.present(storeViewController, animated: true, completion: nil)
}
}
}
func productViewControllerDidFinish(_ viewController: SKStoreProductViewController) {
viewController.dismiss(animated: true, completion: nil)
}
// Usage:
openStoreProductWithiTunesItemIdentifier(identifier: "13432")
다음과 같이 앱의 iTunes 항목 식별자를 얻을 수 있습니다. (정적 대신)
스위프트 3.2
var appID: String = infoDictionary["CFBundleIdentifier"]
var url = URL(string: "http://itunes.apple.com/lookup?bundleId=\(appID)")
var data = Data(contentsOf: url!)
var lookup = try? JSONSerialization.jsonObject(with: data!, options: []) as? [AnyHashable: Any]
var appITunesItemIdentifier = lookup["results"][0]["trackId"] as? String
openStoreProductViewController(withITunesItemIdentifier: Int(appITunesItemIdentifier!) ?? 0)
스위프트 2.X:
func openStoreProductWithiTunesItemIdentifier(identifier: String) {
let storeViewController = SKStoreProductViewController()
storeViewController.delegate = self
let parameters = [ SKStoreProductParameterITunesItemIdentifier : identifier]
storeViewController.loadProductWithParameters(parameters) { [weak self] (loaded, error) -> Void in
if loaded {
// Parent class of self is UIViewContorller
self?.presentViewController(storeViewController, animated: true, completion: nil)
}
}
}
func productViewControllerDidFinish(viewController: SKStoreProductViewController) {
viewController.dismissViewControllerAnimated(true, completion: nil)
}
// Usage
openStoreProductWithiTunesItemIdentifier("2321354")
대상 c:
static NSInteger const kAppITunesItemIdentifier = 324684580;
[self openStoreProductViewControllerWithITunesItemIdentifier:kAppITunesItemIdentifier];
- (void)openStoreProductViewControllerWithITunesItemIdentifier:(NSInteger)iTunesItemIdentifier {
SKStoreProductViewController *storeViewController = [[SKStoreProductViewController alloc] init];
storeViewController.delegate = self;
NSNumber *identifier = [NSNumber numberWithInteger:iTunesItemIdentifier];
NSDictionary *parameters = @{ SKStoreProductParameterITunesItemIdentifier:identifier };
UIViewController *viewController = self.window.rootViewController;
[storeViewController loadProductWithParameters:parameters
completionBlock:^(BOOL result, NSError *error) {
if (result)
[viewController presentViewController:storeViewController
animated:YES
completion:nil];
else NSLog(@"SKStoreProductViewController: %@", error);
}];
[storeViewController release];
}
#pragma mark - SKStoreProductViewControllerDelegate
- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController {
[viewController dismissViewControllerAnimated:YES completion:nil];
}
당신은 얻을 수 있습니다
kAppITunesItemIdentifier
(앱의 iTunes 항목 식별자) : (정적 대신 대신)
NSDictionary* infoDictionary = [[NSBundle mainBundle] infoDictionary];
NSString* appID = infoDictionary[@"CFBundleIdentifier"];
NSURL* url = [NSURL URLWithString:[NSString stringWithFormat:@"http://itunes.apple.com/lookup?bundleId=%@", appID]];
NSData* data = [NSData dataWithContentsOfURL:url];
NSDictionary* lookup = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
NSString * appITunesItemIdentifier = lookup[@"results"][0][@"trackId"];
[self openStoreProductViewControllerWithITunesItemIdentifier:[appITunesItemIdentifier intValue]];
2015 년 여름 이후 ...
-(IBAction)clickedUpdate
{
NSString *simple = @"itms-apps://itunes.apple.com/app/id1234567890";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:simple]];
}
'ID1234567890'을 'ID'및 '10 자리 번호'로 바꾸십시오.
이것은 완벽하게 작동합니다 모든 장치.
간다 곧바로 앱 스토어, 리디렉션이 없습니다.
모두에게 괜찮습니다 국립 상점.
당신이해야한다는 것은 사실입니다 사용으로 이동합니다
loadProductWithParameters
, 하지만 링크의 목적이 앱을 업데이트하는 것이면 실제로 내부에 있습니다.이 "구식"접근 방식을 사용하는 것이 좋습니다.
Apple은 방금 AppStore.com URL을 발표했습니다.
https://developer.apple.com/library/ios/qa/qa1633/_index.html
두 가지 형태의 App Store Short 링크에는 iOS 앱 용으로, 다른 하나는 Mac 앱을위한 세 가지 유형의 짧은 링크가 있습니다.
회사 이름
iOS : http://appstore.com/ 예를 들어, http://appstore.com/apple
맥: http://appstore.com/mac/ 예를 들어, http://appstore.com/mac/apple
앱 이름
iOS : http://appstore.com/ 예를 들어, http://appstore.com/keynote
맥: http://appstore.com/mac/ 예를 들어, http://appstore.com/mac/keynote
회사 별 앱
iOS : http://appstore.com// 예를 들어, http://appstore.com/apple/keynote
맥: http://appstore.com/mac// 예를 들어, http://appstore.com/mac/apple/keynote
대부분의 회사와 앱에는 정식 앱 스토어 짧은 링크가 있습니다. 이 표준 URL은 특정 문자를 변경하거나 제거하여 만들어집니다 (많은 문자는 불법이거나 URL에서 특별한 의미가 있습니다 (예 : "&")).
App Store Short Link를 만들려면 다음 규칙을 회사 또는 앱 이름에 적용하십시오.
모든 공백을 제거하십시오
모든 문자를 소문자로 변환하십시오
모든 저작권 (©), 상표 (™) 및 등록 된 마크 (®) 기호 제거
Ampersands ( "&")를 "및"로 교체하십시오.
대부분의 구두점 제거 (세트의 목록 2 참조)
악센트 및 기타 "장식 된"캐릭터 (ü, Å 등)를 원소 문자 (U, A 등)로 교체하십시오.
다른 모든 캐릭터를 그대로 두십시오.
제거 해야하는 2 개의 구두점 문자를 나열합니다.
!¡"#$%'()*+,-./:;<=>¿?@[]^_`{|}~
다음은 일어나는 전환을 보여주는 몇 가지 예입니다.
앱 스토어
회사 이름 예제
gameloft => http://appstore.com/gameloft
Activision Publishing, Inc. => http://appstore.com/activisionpublishinginc
Chen의 사진 및 소프트웨어 => http://appstore.com/chensphotographyandsoftware
앱 이름 예제
오카리나 => http://appstore.com/ocarina
내 페리는 어딨어? => http://appstore.com/wheresmyperry
Brain Challenge ™ => http://appstore.com/brainchallenge
이 코드는 iOS에서 App Store 링크를 생성합니다
NSString *appName = [NSString stringWithString:[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleName"]];
NSURL *appStoreURL = [NSURL URLWithString:[NSString stringWithFormat:@"itms-apps://itunes.com/app/%@",[appName stringByReplacingOccurrencesOfString:@" " withString:@""]]];
Mac의 HTTP로 ITMS-Apps를 교체하십시오.
NSURL *appStoreURL = [NSURL URLWithString:[NSString stringWithFormat:@"http:/itunes.com/app/%@",[appName stringByReplacingOccurrencesOfString:@" " withString:@""]]];
iOS에서 URL 열기 :
[[UIApplication sharedApplication] openURL:appStoreURL];
맥:
[[NSWorkspace sharedWorkspace] openURL:appStoreURL];
앱 링크에서 'iTunes'를 'Phobos'로 변경하기 만하면됩니다.
http://phobos.apple.com/webobjects/mzstore.woa/wa/viewsoftware?id=300136119&mt=8
이제 앱 스토어를 직접 열립니다
리디렉션없이 직접 링크를 갖기 :
- iTunes 링크 메이커를 사용하십시오 http://itunes.apple.com/linkmaker/ 실제 직접 링크를 얻으려면
- 교체
http://
~와 함께itms-apps://
- 링크를 엽니 다
[[UIApplication sharedApplication] openURL:url];
이러한 링크는 시뮬레이터가 아닌 실제 장치에서만 작동합니다.
원천 : https://developer.apple.com/library/ios/#qa/qa2008/qa1629.html
이것은 앱 ID 만 사용하여 완벽하게 작동했습니다.
NSString *urlString = [NSString stringWithFormat:@"http://itunes.apple.com/app/id%@",YOUR_APP_ID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]];
리디렉션 수는 0입니다.
많은 답변은 'ITMS'또는 'ITMS-Apps'를 사용하는 것을 제안하지만이 연습은 Apple이 구체적으로 권장하지 않습니다. 앱 스토어를 열 수있는 다음 방법 만 제공합니다.
목록 1 iOS 응용 프로그램에서 앱 스토어를 시작합니다
NSString *iTunesLink = @"https://itunes.apple.com/us/app/apple-store/id375380948?mt=8";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
보다 https://developer.apple.com/library/ios/qa/qa1629/_index.html 이 답변으로 2014 년 3 월 마지막 업데이트.
iOS 6 이상을 지원하는 앱의 경우 Apple은 App Store 발표를위한 인앱 메커니즘을 제공합니다. SKStoreProductViewController
- (void)loadProductWithParameters:(NSDictionary *)parameters completionBlock:(void (^)(BOOL result, NSError *error))block;
// Example:
SKStoreProductViewController* spvc = [[SKStoreProductViewController alloc] init];
spvc.delegate = self;
[spvc loadProductWithParameters:@{ SKStoreProductParameterITunesItemIdentifier : @(364709193) } completionBlock:^(BOOL result, NSError *error){
if (error)
// Show sorry
else
// Present spvc
}];
iOS6에서는 오류가 있으면 완료 블록을 호출 할 수 없습니다. 이것은 iOS 7에서 해결 된 버그로 보입니다.
를 연결하려는 경우에 개발자의 애플 리케이션 개발자의 이름은 문장이나 공간(예:개발 회사,LLC)형식의 URL 을 다음과 같다:
itms-apps://itunes.com/apps/DevelopmentCompanyLLC
그렇지 않으면 그것을 반환"이 요청을 처리할 수 없습니다"iOS4.3.3
App Store 또는 iTunes에서 링크 제조업체를 통해 특정 항목에 대한 링크를 얻을 수 있습니다.http://itunes.apple.com/linkmaker/
이것은 iOS5에서 작동하고 직접 연결됩니다
NSString *iTunesLink = @"http://itunes.apple.com/app/baseball-stats-tracker-touch/id490256272?mt=8";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
이것은 App Store의 기존 기존 응용 프로그램을 리디렉션/링크하는 간단하고 짧은 방법입니다.
NSString *customURL = @"http://itunes.apple.com/app/id951386316";
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:customURL]])
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:customURL]];
}
Xcode 9.1 및 Swift 4의 경우 :
- import Storekit :
import StoreKit
2. 프로토콜을 구성하십시오
SKStoreProductViewControllerDelegate
3. 프로토콜을 구현합니다
func openStoreProductWithiTunesItemIdentifier(identifier: String) {
let storeViewController = SKStoreProductViewController()
storeViewController.delegate = self
let parameters = [ SKStoreProductParameterITunesItemIdentifier : identifier]
storeViewController.loadProduct(withParameters: parameters) { [weak self] (loaded, error) -> Void in
if loaded {
// Parent class of self is UIViewContorller
self?.present(storeViewController, animated: true, completion: nil)
}
}
}
3.1
func productViewControllerDidFinish(_ viewController: SKStoreProductViewController) {
viewController.dismiss(animated: true, completion: nil)
}
- 사용하는 방법:
openStoreProductWithiTunesItemIdentifier(identifier: "here_put_your_App_id")
메모:
앱의 정확한 ID를 입력하는 것이 매우 중요합니다. 이 원인 오류가 발생하기 때문에 (오류 로그를 표시하지 않지만 이로 인해 잘 작동하지 않습니다).
iTunes에서 앱을 작성하면 제출하기 전에 앱 ID를 얻습니다.
그러므로..
itms-apps://itunes.apple.com/app/id123456789
NSURL *appStoreURL = [NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id123456789"];
if ([[UIApplication sharedApplication]canOpenURL:appStoreURL])
[[UIApplication sharedApplication]openURL:appStoreURL];
치료를합니다
여러 OS 및 다중 플랫폼을 지원할 때 링크를 작성하면 복잡한 문제가 될 수 있습니다. 예를 들어 WebObjects는 iOS 7 (일부 중 일부)에서 지원되지 않으며, 일부 링크는 다른 국가 상점을 열면 사용자의 등이 있습니다.
호출 된 오픈 소스 라이브러리가 있습니다 일링 그것은 당신을 도울 수 있습니다.
이 라이브러리의 장점은 바로 이점입니다 링크는 런타임에 발견되고 생성됩니다. (라이브러리는 앱 ID와 실행중인 OS를 확인하고 어떤 링크를 생성 해야하는지 알아낼 것입니다). 가장 좋은 점은 사용하기 전에 거의 모든 것을 구성 할 필요가 없으므로 오류가없고 항상 작동한다는 것입니다. 동일한 프로젝트에 목표가 거의 없으므로 사용할 앱 ID 또는 링크를 기억할 필요가 없습니다. 이 라이브러리는 또한 사용자가 동의 한 경우 상점에 새 버전이있는 경우 사용자에게 앱을 업그레이드하라는 메시지를 표시합니다 (이것은 간단한 플래그로 꺼집니다).
2 개의 라이브러리 파일을 프로젝트에 복사하십시오 (ilink.h & ilink.m).
AppDelegate.m :
#import "iLink.h"
+ (void)initialize
{
//configure iLink
[iLink sharedInstance].globalPromptForUpdate = YES; // If you want iLink to prompt user to update when the app is old.
}
예를 들어 등급 페이지를 열고 싶은 곳에서는 다음과 같습니다.
[[iLink sharedInstance] iLinkOpenAppPageInAppStoreWithAppleID: YOUR_PAID_APP_APPLE_ID]; // You should find YOUR_PAID_APP_APPLE_ID from iTunes Connect
같은 파일에서 ilink.h를 가져 오는 것을 잊지 마십시오.
전체 라이브러리에 대한 훌륭한 문서와 iPhone 및 Mac에 대한 예제 프로젝트가 있습니다.
적어도 iOS 9 이상
- 앱 스토어에서 직접 열립니다
앱
itms-apps://itunes.apple.com/app/[appName]/[appID]
개발자 앱 목록
itms-apps://itunes.apple.com/developer/[developerName]/[developerID]
에 따르면 애플의 최신 문서 사용해야합니다
appStoreLink = "https://itunes.apple.com/us/app/apple-store/id375380948?mt=8"
또는
SKStoreProductViewController
App Store ID가있는 경우 사용하는 것이 가장 좋습니다. 특히 미래에 당신이 응용 프로그램의 이름을 변경할 수 있다면.
http://itunes.apple.com/app/id378458261
앱 스토어 ID가없는 경우이 문서를 기반으로 URL을 만들 수 있습니다. https://developer.apple.com/library/ios/qa/qa1633/_index.html
+ (NSURL *)appStoreURL
{
static NSURL *appStoreURL;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
appStoreURL = [self appStoreURLFromBundleName:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"]];
});
return appStoreURL;
}
+ (NSURL *)appStoreURLFromBundleName:(NSString *)bundleName
{
NSURL *appStoreURL = [NSURL URLWithString:[NSString stringWithFormat:@"itms-apps://itunes.com/app/%@", [self sanitizeAppStoreResourceSpecifier:bundleName]]];
return appStoreURL;
}
+ (NSString *)sanitizeAppStoreResourceSpecifier:(NSString *)resourceSpecifier
{
/*
https://developer.apple.com/library/ios/qa/qa1633/_index.html
To create an App Store Short Link, apply the following rules to your company or app name:
Remove all whitespace
Convert all characters to lower-case
Remove all copyright (©), trademark (™) and registered mark (®) symbols
Replace ampersands ("&") with "and"
Remove most punctuation (See Listing 2 for the set)
Replace accented and other "decorated" characters (ü, å, etc.) with their elemental character (u, a, etc.)
Leave all other characters as-is.
*/
resourceSpecifier = [resourceSpecifier stringByReplacingOccurrencesOfString:@"&" withString:@"and"];
resourceSpecifier = [[NSString alloc] initWithData:[resourceSpecifier dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES] encoding:NSASCIIStringEncoding];
resourceSpecifier = [resourceSpecifier stringByReplacingOccurrencesOfString:@"[!¡\"#$%'()*+,-./:;<=>¿?@\\[\\]\\^_`{|}~\\s\\t\\n]" withString:@"" options:NSRegularExpressionSearch range:NSMakeRange(0, resourceSpecifier.length)];
resourceSpecifier = [resourceSpecifier lowercaseString];
return resourceSpecifier;
}
이 테스트를 통과합니다
- (void)testAppStoreURLFromBundleName
{
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"Nuclear™"].absoluteString, @"itms-apps://itunes.com/app/nuclear", nil);
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"Magazine+"].absoluteString, @"itms-apps://itunes.com/app/magazine", nil);
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"Karl & CO"].absoluteString, @"itms-apps://itunes.com/app/karlandco", nil);
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"[Fluppy fuck]"].absoluteString, @"itms-apps://itunes.com/app/fluppyfuck", nil);
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"Pollos Hérmanos"].absoluteString, @"itms-apps://itunes.com/app/polloshermanos", nil);
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"Niños and niñas"].absoluteString, @"itms-apps://itunes.com/app/ninosandninas", nil);
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"Trond, MobizMag"].absoluteString, @"itms-apps://itunes.com/app/trondmobizmag", nil);
STAssertEqualObjects([AGApplicationHelper appStoreURLFromBundleName:@"!__SPECIAL-PLIZES__!"].absoluteString, @"itms-apps://itunes.com/app/specialplizes", nil);
}
여기에는 많은 답변이 있지만 개발자 앱에 링크하는 제안 중 어느 것도 더 이상 작동하지 않는 것 같습니다.
마지막으로 방문했을 때 형식을 사용하여 작업 할 수있었습니다.
itms-apps://itunes.apple.com/developer/developer-name/id123456789
이것은 더 이상 작동하지 않지만 개발자 이름을 제거하는 것은 다음과 같습니다.
itms-apps://itunes.apple.com/developer/id123456789
이 방법을 시도하십시오
http://itunes.apple.com/lookup?id="귀하의 앱 ID는 여기에"json을 반환합니다.TrackViewUrl"그리고 값은 원하는 URL입니다.이 URL을 사용하십시오 (그냥 교체하십시오. https://
~와 함께 itms-apps://
). 이것은 잘 작동합니다.
예를 들어 앱 ID가 xyz 인 경우이 링크로 이동하십시오.http://itunes.apple.com/lookup?id=xyz
그런 다음 키의 URL을 찾으십시오 "TrackViewUrl". 이것은 App Store의 앱의 URL이며 Xcode 에서이 URL을 사용하려면이 URL을 사용해보십시오.
NSString *iTunesLink = @"itms-apps://itunes.apple.com/us/app/Your app name/id Your app ID?mt=8&uo=4";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
감사